projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
V4L/DVB (8757): v4l-dvb: fix a bunch of sparse warnings
[deliverable/linux.git]
/
drivers
/
leds
/
ledtrig-ide-disk.c
diff --git
a/drivers/leds/ledtrig-ide-disk.c
b/drivers/leds/ledtrig-ide-disk.c
index fa651886ab4fc6f31f7e4f4cf49b4eaaed8118a6..883a577b1b97aaaa189a3d82fc461939ffa286da 100644
(file)
--- a/
drivers/leds/ledtrig-ide-disk.c
+++ b/
drivers/leds/ledtrig-ide-disk.c
@@
-12,6
+12,7
@@
*/
#include <linux/module.h>
*/
#include <linux/module.h>
+#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/timer.h>
@@
-37,7
+38,7
@@
static void ledtrig_ide_timerfunc(unsigned long data)
if (ide_lastactivity != ide_activity) {
ide_lastactivity = ide_activity;
led_trigger_event(ledtrig_ide, LED_FULL);
if (ide_lastactivity != ide_activity) {
ide_lastactivity = ide_activity;
led_trigger_event(ledtrig_ide, LED_FULL);
- mod_timer(&ledtrig_ide_timer, jiffies + msecs_to_jiffies(10));
+ mod_timer(&ledtrig_ide_timer, jiffies + msecs_to_jiffies(10));
} else {
led_trigger_event(ledtrig_ide, LED_OFF);
}
} else {
led_trigger_event(ledtrig_ide, LED_OFF);
}
This page took
0.023333 seconds
and
5
git commands to generate.