2
0
forked from Ivasoft/openwrt

register gpiodev

SVN-Revision: 15509
This commit is contained in:
Florian Fainelli
2009-04-30 14:09:01 +00:00
parent ad9d1857a5
commit 9485c3e834
2 changed files with 8 additions and 0 deletions

View File

@@ -494,6 +494,10 @@ static struct ssb_sprom bcm63xx_sprom = {
.boardflags_hi = 0x0000,
};
static struct resource gpiodev_resource = {
.start = 0xFFFFFFFF,
};
/*
* third stage init callback, register all board devices.
*/
@@ -541,6 +545,9 @@ int __init board_register_devices(void)
platform_device_register(&mtd_dev);
/* Register GPIODEV */
platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
return 0;
}