summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-09-12 21:23:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-09-12 21:23:47 +0000
commitdc1302fdf9eb318e81eec25d063017fe01bcc325 (patch)
tree448e40f109b5eb509e0ff7df7bb45d7c7a3a75b9 /target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
parent327ac42dcae5f418a2eed8382c74041be77638e2 (diff)
downloadmtk-20170518-dc1302fdf9eb318e81eec25d063017fe01bcc325.zip
mtk-20170518-dc1302fdf9eb318e81eec25d063017fe01bcc325.tar.gz
mtk-20170518-dc1302fdf9eb318e81eec25d063017fe01bcc325.tar.bz2
remove 2.6.33 support
SVN-Revision: 23037
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch b/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
deleted file mode 100644
index c17f85b..0000000
--- a/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1030,6 +1030,10 @@ int __init board_register_devices(void)
- platform_device_register(&bcm63xx_gpio_buttons_device);
- }
-
-+ if (board.num_devs) {
-+ platform_add_devices(board.devs, board.num_devs);
-+ }
-+
- return 0;
- }
-
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -59,6 +59,10 @@ struct board_info {
-
- /* Buttons */
- struct gpio_button buttons[2];
-+
-+ /* Additional platform devices */
-+ struct platform_device **devs;
-+ unsigned int num_devs;
- };
-
- #endif /* ! BOARD_BCM963XX_H_ */