diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-07-24 14:30:48 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-07-24 14:30:48 +0200 |
commit | 0f17e4c796e89d1f69f13b653aba60e6ccfb8ae0 (patch) | |
tree | 7d34533becf560bb003452414d887e7a08854dba /drivers/input | |
parent | Remove mention of semaphores from kernel-locking (diff) | |
download | linux-0f17e4c796e89d1f69f13b653aba60e6ccfb8ae0.tar.xz linux-0f17e4c796e89d1f69f13b653aba60e6ccfb8ae0.zip |
Add missing semaphore.h includes
These files use semaphores but don't include semaphore.h
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/hil_kbd.c | 1 | ||||
-rw-r--r-- | drivers/input/misc/hp_sdc_rtc.c | 1 | ||||
-rw-r--r-- | drivers/input/serio/hp_sdc.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/keyboard/hil_kbd.c b/drivers/input/keyboard/hil_kbd.c index adbf29f0169d..71c1971abf80 100644 --- a/drivers/input/keyboard/hil_kbd.c +++ b/drivers/input/keyboard/hil_kbd.c @@ -37,6 +37,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> +#include <linux/semaphore.h> #include <linux/slab.h> #include <linux/pci_ids.h> diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c index 49d8abfe38fe..daa9d4220331 100644 --- a/drivers/input/misc/hp_sdc_rtc.c +++ b/drivers/input/misc/hp_sdc_rtc.c @@ -44,6 +44,7 @@ #include <linux/proc_fs.h> #include <linux/poll.h> #include <linux/rtc.h> +#include <linux/semaphore.h> MODULE_AUTHOR("Brian S. Julin <bri@calyx.com>"); MODULE_DESCRIPTION("HP i8042 SDC + MSM-58321 RTC Driver"); diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 7b233a492ad5..aad664d5259f 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c @@ -67,6 +67,7 @@ #include <linux/module.h> #include <linux/ioport.h> #include <linux/time.h> +#include <linux/semaphore.h> #include <linux/slab.h> #include <linux/hil.h> #include <linux/semaphore.h> |