ip17xx: Fix indentation in get_state() and update_state()
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 200-extended-platform-devices.patch
1 Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.13.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:44:19.000000000 -0400
4 +++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:44:35.000000000 -0400
5 @@ -984,6 +984,10 @@
6 platform_device_register(&bcm63xx_gpio_buttons_device);
7 }
8
9 + if (board.num_devs) {
10 + platform_add_devices(board.devs, board.num_devs);
11 + }
12 +
13 return 0;
14 }
15
16 Index: linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
17 ===================================================================
18 --- linux-2.6.32.13.orig/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:44:19.000000000 -0400
19 +++ linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:44:35.000000000 -0400
20 @@ -59,6 +59,10 @@
21
22 /* Buttons */
23 struct gpio_button buttons[2];
24 +
25 + /* Additional platform devices */
26 + struct platform_device **devs;
27 + unsigned int num_devs;
28 };
29
30 #endif /* ! BOARD_BCM963XX_H_ */
This page took 0.042827 seconds and 5 git commands to generate.