projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CONFIG_LOCALVERSION_AUTO isn't something we want on OpenWrt
[openwrt.git]
/
target
/
linux
/
ixp4xx
/
patches-2.6.27
/
192-cambria_gpio_device.patch
diff --git
a/target/linux/ixp4xx/patches-2.6.27/192-cambria_gpio_device.patch
b/target/linux/ixp4xx/patches-2.6.27/192-cambria_gpio_device.patch
index
0fe2eb0
..
706d65e
100644
(file)
--- a/
target/linux/ixp4xx/patches-2.6.27/192-cambria_gpio_device.patch
+++ b/
target/linux/ixp4xx/patches-2.6.27/192-cambria_gpio_device.patch
@@
-1,6
+1,6
@@
--- a/arch/arm/mach-ixp4xx/cambria-setup.c
+++ b/arch/arm/mach-ixp4xx/cambria-setup.c
--- a/arch/arm/mach-ixp4xx/cambria-setup.c
+++ b/arch/arm/mach-ixp4xx/cambria-setup.c
-@@ -21
4,6 +214,21 @@
+@@ -21
2,6 +212,20 @@ static struct platform_device cambria_gp
.dev.platform_data = &cambria_gpio_leds_data,
};
.dev.platform_data = &cambria_gpio_leds_data,
};
@@
-18,12
+18,11
@@
+ .resource = cambria_gpio_resources,
+};
+
+ .resource = cambria_gpio_resources,
+};
+
-+
-
static struct latch_led cambria_latch_leds[] = {
{
static struct latch_led cambria_latch_leds[] = {
{
-@@ -337,6 +352,11 @@
- cambria_optional_uart_data[1].membase = (void __iomem *)ioremap(IXP4XX_EXP_BUS_BASE(3), 0x0fff);
+ .name = "ledA", /* green led */
+@@ -333,6 +347,11 @@ static void __init cambria_gw2350_setup(
+ cambria_optional_uart_data[1].membase = (void __iomem *)ioremap(0x53FF0000, 0x0fff);
cambria_optional_uart_data[1].irq = IRQ_IXP4XX_GPIO4;
+ cambria_gpio_resources[0].start = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) |\
cambria_optional_uart_data[1].irq = IRQ_IXP4XX_GPIO4;
+ cambria_gpio_resources[0].start = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) |\
@@
-34,7
+33,7
@@
platform_device_register(&cambria_optional_uart);
platform_device_register(&cambria_npec_device);
platform_device_register(&cambria_npea_device);
platform_device_register(&cambria_optional_uart);
platform_device_register(&cambria_npec_device);
platform_device_register(&cambria_npea_device);
-@@ -3
61,6 +381,10 @@
+@@ -3
59,6 +378,10 @@ static void __init cambria_gw2358_setup(
cambria_optional_uart_data[1].membase = (void __iomem *)ioremap(0x53F80000, 0x0fff);
cambria_optional_uart_data[1].irq = IRQ_IXP4XX_GPIO4;
cambria_optional_uart_data[1].membase = (void __iomem *)ioremap(0x53F80000, 0x0fff);
cambria_optional_uart_data[1].irq = IRQ_IXP4XX_GPIO4;
This page took
0.032099 seconds
and
4
git commands to generate.