bcm63xx: enable bcm6368 for linux 3.3 and build images
[openwrt.git] / target / linux / brcm63xx / patches-3.2 / 200-extended-platform-devices.patch
index 2ec70c1..7fee1b7 100644 (file)
@@ -1,8 +1,8 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -917,6 +917,9 @@ int __init board_register_devices(void)
-       if (board.has_udc0)
-               bcm63xx_udc_register();
+@@ -911,6 +911,9 @@ int __init board_register_devices(void)
+       if (board.has_dsp)
+               bcm63xx_dsp_register(&board.dsp);
  
 +      if (board.num_devs)
 +              platform_add_devices(board.devs, board.num_devs);
        val &= MPI_CSBASE_BASE_MASK;
 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -61,6 +61,10 @@ struct board_info {
+@@ -60,6 +60,10 @@ struct board_info {
  
        /* Buttons */
-       struct gpio_button buttons[2];
+       struct gpio_button buttons[4];
 +
 +      /* Additional platform devices */
 +      struct platform_device **devs;
This page took 0.021407 seconds and 4 git commands to generate.