[PATCH v2] uio/pdrv_genirq: Add OF support
Arnd Bergmann
arnd at arndb.de
Mon Apr 18 03:53:42 EST 2011
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 */.
Arnd
More information about the devicetree-discuss
mailing list