lkml.org 
[lkml]   [2008]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2008-04-23 09:21    [W:0.057 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site