Messages in this thread Patch in this message |  | | | Date | Wed, 23 Apr 2008 09:18:13 +0200 (CEST) | | From | Geert Uytterhoeven <> | | Subject | Re: Pull request for semaphore include changes | |
On Sat, 19 Apr 2008, Matthew Wilcox wrote:
> Thanks for pulling the generic semaphores. This follow-on series
> removes all in-tree references to asm/semaphore.h. Many of the existing
> references are in files which do not use semaphores, so they are simply
> deleted. The remainder are converted to use linux/semaphore.h.
Subject: [PATCH] drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>
From: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/input/serio/hp_sdc.c: In function 'hp_sdc_take':
drivers/input/serio/hp_sdc.c:198: error: implicit declaration of function 'up'
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/input/serio/hp_sdc.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/input/serio/hp_sdc.c
+++ b/drivers/input/serio/hp_sdc.c
@@ -69,6 +69,7 @@
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/hil.h>
+#include <linux/semaphore.h>
#include <asm/io.h>
#include <asm/system.h>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
|  |