X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Far7%2Fpatches-2.6.32%2F930-titan-platform.patch;h=21b585b1690953069126dabc25353ff294a63a0b;hp=cf6966dd109eedf5869174ba99326744944c2e16;hb=aa08dcdf168e25af117be8a6d1d926f8221fe283;hpb=108b8baf4e7b20e4aaa5551c68dbda9a9b28cfec diff --git a/target/linux/ar7/patches-2.6.32/930-titan-platform.patch b/target/linux/ar7/patches-2.6.32/930-titan-platform.patch index cf6966dd10..21b585b169 100644 --- a/target/linux/ar7/patches-2.6.32/930-titan-platform.patch +++ b/target/linux/ar7/patches-2.6.32/930-titan-platform.patch @@ -1,6 +1,6 @@ --- 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", -@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[] +@@ -185,6 +215,60 @@ static struct resource vlynq_high_res[] }, }; @@ -192,7 +192,7 @@ 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[] = }, }; @@ -329,9 +329,9 @@ /* 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) +{