[PATCH] mtd: gpio-nand: add device tree bindings
Mike Frysinger
vapier.adi at gmail.com
Wed Jul 27 20:07:05 EDT 2011
On Wed, Jul 27, 2011 at 07:03, Jamie Iles wrote:
> --- a/drivers/mtd/nand/gpio.c
> +++ b/drivers/mtd/nand/gpio.c
>
> +static const struct of_device_id gpio_nand_id_table[] = {
> + { .compatible = "gpio-nand" },
> + {}
> +};
> +MODULE_DEVICE_TABLE(of, gpio_nand_id_table);
all this new logic is missing CONFIG_OF ifdef protection for all the
ports not using device trees
-mike
More information about the linux-mtd
mailing list