diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-25 19:26:17 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-25 19:26:17 +0000 |
commit | 3f40c0f7dff7748c1d5b20be33e45c686a0b5ac5 (patch) | |
tree | 78e2acddff5c361550771e5172c3dde80f527d8f /target/linux/brcm63xx/patches-3.0/110-gpiodev.patch | |
parent | cc56af716c6ad8ed054c1c12076933014df951c9 (diff) | |
download | upstream-3f40c0f7dff7748c1d5b20be33e45c686a0b5ac5.tar.gz upstream-3f40c0f7dff7748c1d5b20be33e45c686a0b5ac5.tar.bz2 upstream-3f40c0f7dff7748c1d5b20be33e45c686a0b5ac5.zip |
remove gpiodev, prefer sysfs gpio
SVN-Revision: 27284
Diffstat (limited to 'target/linux/brcm63xx/patches-3.0/110-gpiodev.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.0/110-gpiodev.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/brcm63xx/patches-3.0/110-gpiodev.patch b/target/linux/brcm63xx/patches-3.0/110-gpiodev.patch deleted file mode 100644 index 8283a5422d..0000000000 --- a/target/linux/brcm63xx/patches-3.0/110-gpiodev.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c -+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -864,6 +864,10 @@ static struct platform_device mtd_dev = - .num_resources = ARRAY_SIZE(mtd_resources), - }; - -+static struct resource gpiodev_resource = { -+ .start = 0xFFFFFFFF, -+}; -+ - static struct gpio_led_platform_data bcm63xx_led_data; - - static struct platform_device bcm63xx_gpio_leds = { -@@ -928,6 +932,8 @@ int __init board_register_devices(void) - - platform_device_register(&mtd_dev); - -+ platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1); -+ - bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds); - bcm63xx_led_data.leds = board.leds; - |