[ar7] refresh 2.6.32 patches
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.32 / 930-titan-platform.patch
index cf6966dd109eedf5869174ba99326744944c2e16..21b585b1690953069126dabc25353ff294a63a0b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/ar7/platform.c
 +++ b/arch/mips/ar7/platform.c
 --- a/arch/mips/ar7/platform.c
 +++ b/arch/mips/ar7/platform.c
-@@ -131,6 +131,36 @@ static struct resource cpmac_high_res[] 
+@@ -131,6 +131,36 @@ static struct resource cpmac_high_res[]
        },
  };
  
        },
  };
  
@@ -37,7 +37,7 @@
  static struct resource vlynq_low_res[] = {
        {
                .name = "regs",
  static struct resource vlynq_low_res[] = {
        {
                .name = "regs",
-@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[] 
+@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[]
        },
  };
  
        },
  };
  
  
  static struct gpio_led default_leds[] = {
        {
  
  static struct gpio_led default_leds[] = {
        {
-@@ -300,6 +450,11 @@ static struct gpio_led default_leds[] = 
+@@ -300,6 +450,11 @@ static struct gpio_led default_leds[] =
        },
  };
  
        },
  };
  
  
  /* Interrupts */
  #define AR7_IRQ_UART0 15
  
  /* Interrupts */
  #define AR7_IRQ_UART0 15
-@@ -95,14 +115,22 @@ struct plat_dsl_data {
+@@ -97,14 +117,22 @@ extern int ar7_cpu_clock, ar7_bus_clock,
  
  
- extern int ar7_cpu_clock, ar7_bus_clock, ar7_dsp_clock;
+ extern void __init ar7_init_clocks(void);
  
 +static inline int ar7_is_titan(void)
 +{
  
 +static inline int ar7_is_titan(void)
 +{