CONFIG_GENERIC_GPIO=y
# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
CONFIG_GPIOLIB=y
CONFIG_GENERIC_GPIO=y
# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
CONFIG_GPIOLIB=y
# CONFIG_HAMRADIO is not set
CONFIG_HAS_DMA=y
CONFIG_HAS_IOMEM=y
# CONFIG_HAMRADIO is not set
CONFIG_HAS_DMA=y
CONFIG_HAS_IOMEM=y
.boardflags_hi = 0x0000,
};
.boardflags_hi = 0x0000,
};
+static struct resource gpiodev_resource = {
+ .start = 0xFFFFFFFF,
+};
+
/*
* third stage init callback, register all board devices.
*/
/*
* third stage init callback, register all board devices.
*/
platform_device_register(&mtd_dev);
platform_device_register(&mtd_dev);
+ /* Register GPIODEV */
+ platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
+