summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-03-20 11:25:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-20 11:25:10 +0000
commit08c9337a82e50e26565453b3242396a127ef98c2 (patch)
treecc893593d6e427c3ee8416aae553c0ce0b6cceaa /packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch
parente404d3f4b1ea1b7a4578d34398a3fcfde8a01870 (diff)
parent0355f6e033131c804cd4583e0715d54d30e797fb (diff)
merge of 135034cf51fecc3c52b45d1a26261b3b2d93bac6
and 599ce309bcded85efa1ed80fedea59fce4bb01ed
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch')
-rw-r--r--packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch b/packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch
index 92b03836d4..6d4c53026c 100644
--- a/packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch
+++ b/packages/linux/ixp4xx-kernel/2.6.16/951-ixp4xx-leds-cpu-activity.patch
@@ -21,9 +21,9 @@ Signed-off-by: John Bowler <jbowler@acm.org>
#include <linux/init.h>
#include <linux/cpu.h>
+#include <linux/leds.h>
+ #include <linux/elfcore.h>
#include <asm/leds.h>
- #include <asm/processor.h>
@@ -80,6 +81,12 @@ void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
@@ -580,7 +580,7 @@ Signed-off-by: John Bowler <jbowler@acm.org>
+MODULE_LICENSE("MIT");
--- linux-ixp4xx.orig/include/linux/leds.h 2006-02-21 00:54:33.000000000 +0100
+++ linux-ixp4xx/include/linux/leds.h 2006-02-21 01:03:33.000000000 +0100
-@@ -95,3 +95,12 @@ void led_trigger_event(struct led_trigge
+@@ -102,4 +102,13 @@ void led_trigger_event(struct led_trigge
#define led_trigger_event(x, y) do {} while(0)
#endif
@@ -593,3 +593,4 @@ Signed-off-by: John Bowler <jbowler@acm.org>
+ * the arch core to be able to use LEDS_TRIGGER_CPU_ACTIVITY
+ */
+extern void (*leds_idle)(int is_idle);
+ #endif /* __LINUX_LEDS_H_INCLUDED */