From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon, 5 May 2008 19:16:13 +0000 (+0200)
Subject: m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4933d07531711e399d8d578036aa9fc1be2f9b20;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---

diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c
index 02b3ad8c0826..edfedd9a166c 100644
--- 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>