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>
This commit is contained in:
Matthew Wilcox 2008-07-24 08:30:48 -04:00 committed by Matthew Wilcox
parent 78305de2f9
commit 0f17e4c796
3 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/semaphore.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>

View File

@ -44,6 +44,7 @@
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/poll.h> #include <linux/poll.h>
#include <linux/rtc.h> #include <linux/rtc.h>
#include <linux/semaphore.h>
MODULE_AUTHOR("Brian S. Julin <bri@calyx.com>"); MODULE_AUTHOR("Brian S. Julin <bri@calyx.com>");
MODULE_DESCRIPTION("HP i8042 SDC + MSM-58321 RTC Driver"); MODULE_DESCRIPTION("HP i8042 SDC + MSM-58321 RTC Driver");

View File

@ -67,6 +67,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/semaphore.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/hil.h> #include <linux/hil.h>
#include <linux/semaphore.h> #include <linux/semaphore.h>