Re: [PATCH v2] uio/pdrv_genirq: Add OF support

From: Arnd Bergmann
Date: Sun Apr 17 2011 - 13:54:17 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/