[PATCH v2] uio/pdrv_genirq: Add OF support

Hans J. Koch hjk at hansjkoch.de
Mon Apr 18 04:08:01 EST 2011


On Sun, Apr 17, 2011 at 07:53:42PM +0200, Arnd Bergmann wrote:
> On Friday 15 April 2011, Hans J. Koch wrote:
> > > +#ifdef CONFIG_OF
> > > +/*
> > > + * Empty match table for of_platform binding
> > > + * Select your custom compatible string in format
> > > + * { .compatible = "<compatible string>", },
> > > + */
> > > +static const struct of_device_id __devinitconst uio_of_genirq_match[] = {
> > > +     { /* end of list */ },
> > 
> > doesn't that want a NULL termination?
> > 
> 
> It is NULL terminated, that is the /* end of list */.

Right.

Thanks,
Hans


More information about the devicetree-discuss mailing list