Re: Pull request for semaphore include changes

From: Geert Uytterhoeven
Date: Wed Apr 23 2008 - 03:18:30 EST


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@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/