OMAP2+: GPIO: device registration
authorVaradarajan, Charulatha <charu@ti.com>
Wed, 8 Dec 2010 00:26:57 +0000 (16:26 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Dec 2010 00:26:57 +0000 (16:26 -0800)
commitf547170fe721f145b7b7d6eb8b252e45f489dc4b
tree396c97182ac7d2f66974cb71c57837395dd97d08
parent9780a9cfa7b1f913d5f7099290e77b381a8b01d5
OMAP2+: GPIO: device registration

Use omap_device_build() API to do platform_device_register of
GPIO devices. For OMAP2+ chips, the device specific data defined
in the centralized hwmod database will be used.

gpio_init needs to be done before machine_init functions access
gpio APIs. Hence gpio_init is made as a postcore_initcall.

Signed-off-by: Charulatha V <charu@ti.com>
Acked-by: Benoit Cousson <b-cousson@ti.com>
Reviewed-by: Basak, Partha <p-basak2@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpio.c [new file with mode: 0644]