diff options
author | John Crispin <john@openwrt.org> | 2012-10-17 21:53:37 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-10-17 21:53:37 +0000 |
commit | 6993e195328353fe02c525ded684f134edc6e81a (patch) | |
tree | cb72e566dacb3d5d160082ac930afc00546f4230 /target/linux/brcm47xx | |
parent | 788a5816ad218c8401db3eccf459e8c55df35458 (diff) | |
download | upstream-6993e195328353fe02c525ded684f134edc6e81a.tar.gz upstream-6993e195328353fe02c525ded684f134edc6e81a.tar.bz2 upstream-6993e195328353fe02c525ded684f134edc6e81a.zip |
drop GPIODEV platform code
SVN-Revision: 33825
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r-- | target/linux/brcm47xx/patches-3.3/400-arch-bcm47xx.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-3.3/400-arch-bcm47xx.patch index 784562dc74..a232bff91c 100644 --- a/target/linux/brcm47xx/patches-3.3/400-arch-bcm47xx.patch +++ b/target/linux/brcm47xx/patches-3.3/400-arch-bcm47xx.patch @@ -31,26 +31,3 @@ + return NULL; +} +EXPORT_SYMBOL(nvram_get); ---- a/arch/mips/bcm47xx/setup.c -+++ b/arch/mips/bcm47xx/setup.c -@@ -381,3 +381,20 @@ static int __init bcm47xx_register_flash - return -1; - } - fs_initcall(bcm47xx_register_flash); -+ -+static int __init bcm47xx_register_gpiodev(void) -+{ -+ static struct resource res = { -+ .start = 0xFFFFFFFF, -+ }; -+ struct platform_device *pdev; -+ -+ pdev = platform_device_register_simple("GPIODEV", 0, &res, 1); -+ if (!pdev) { -+ printk(KERN_ERR "bcm47xx: GPIODEV init failed\n"); -+ return -ENODEV; -+ } -+ -+ return 0; -+} -+device_initcall(bcm47xx_register_gpiodev); |