mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -311,26 +311,6 @@ void __init adm5120_add_device_gpio_leds(unsigned num_leds,
|
||||
platform_device_register(&adm5120_gpio_leds_device);
|
||||
}
|
||||
|
||||
/*
|
||||
* GPIO device
|
||||
*/
|
||||
static struct resource adm5120_gpio_resource[] __initdata = {
|
||||
{
|
||||
.start = 0x3fffff,
|
||||
},
|
||||
};
|
||||
|
||||
void __init adm5120_add_device_gpio(u32 disable_mask)
|
||||
{
|
||||
if (adm5120_package_pqfp())
|
||||
disable_mask |= 0xf0;
|
||||
|
||||
adm5120_gpio_resource[0].start &= ~disable_mask;
|
||||
platform_device_register_simple("GPIODEV", -1,
|
||||
adm5120_gpio_resource,
|
||||
ARRAY_SIZE(adm5120_gpio_resource));
|
||||
}
|
||||
|
||||
/*
|
||||
* NAND flash
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user