summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-22 19:57:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-22 19:57:16 +0000
commit7349a5c048a4247a9b2c1bcccb0522472047a640 (patch)
treea9fd50f1fb90abd76355865887bbd23e90dcab6c /packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch
parent9db5d004ab478d2dfde46a021b1c3d2cc3bd38c8 (diff)
ixp4xx-kernel: update LEDs patches, add NSLU2 beeper back in to 2.6.15.1
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch')
-rw-r--r--packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch12
1 files changed, 3 insertions, 9 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch b/packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch
index 2898e83fdb..2502b6518d 100644
--- a/packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch
+++ b/packages/linux/ixp4xx-kernel/2.6.15/96-nslu2-leds.patch
@@ -12,7 +12,7 @@ Signed-off-by: John Bowler <jbowler@acm.org>
#include <asm/setup.h>
#include <asm/memory.h>
-@@ -50,6 +51,48 @@ static struct ixp4xx_i2c_pins nslu2_i2c_
+@@ -50,6 +51,42 @@ static struct ixp4xx_i2c_pins nslu2_i2c_
.scl_pin = NSLU2_SCL_PIN,
};
@@ -42,12 +42,6 @@ Signed-off-by: John Bowler <jbowler@acm.org>
+ .end = NSLU2_LED_DISK2,
+ .flags = IXP4XX_GPIO_LOW,
+ },
-+ {
-+ .name = "buzzer",
-+ .start = NSLU2_GPIO_BUZZ,
-+ .end = NSLU2_GPIO_BUZZ,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
+};
+
+static struct platform_device nslu2_leds = {
@@ -61,7 +55,7 @@ Signed-off-by: John Bowler <jbowler@acm.org>
static struct platform_device nslu2_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
-@@ -103,7 +146,6 @@ static struct platform_device nslu2_uart
+@@ -103,7 +140,6 @@ static struct platform_device nslu2_uart
static struct platform_device *nslu2_devices[] __initdata = {
&nslu2_i2c_controller,
&nslu2_flash,
@@ -69,7 +63,7 @@ Signed-off-by: John Bowler <jbowler@acm.org>
};
static void nslu2_power_off(void)
-@@ -164,7 +206,18 @@ static void __init nslu2_init(void)
+@@ -164,7 +200,18 @@ static void __init nslu2_init(void)
pm_power_off = nslu2_power_off;