# Re: \[PATCH\] mtd: gpio-nand: add device tree bindings

- From: Mike Frysinger \<hidden\>
- Date: 2011-07-28 00:07:05 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2011/07/8053750
- Thread: https://ratatoskr.run/linux-devicetree/2011/07/8053750/t.md

```text
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
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
```
