diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-05-08 03:28:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:07 -0400 |
commit | e63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch) | |
tree | 8d3212705515edec73c3936bb9e23c71d34a7b41 /drivers/input | |
parent | 04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff) |
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed.
Suggested by Al Viro.
Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/evdev.c | 1 | ||||
-rw-r--r-- | drivers/input/input.c | 1 | ||||
-rw-r--r-- | drivers/input/joydev.c | 1 | ||||
-rw-r--r-- | drivers/input/mousedev.c | 1 | ||||
-rw-r--r-- | drivers/input/tsdev.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 1f6fcec0c6fc..be3dbc1ae67d 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/input.h> | 19 | #include <linux/input.h> |
20 | #include <linux/major.h> | 20 | #include <linux/major.h> |
21 | #include <linux/smp_lock.h> | ||
22 | #include <linux/device.h> | 21 | #include <linux/device.h> |
23 | #include <linux/compat.h> | 22 | #include <linux/compat.h> |
24 | 23 | ||
diff --git a/drivers/input/input.c b/drivers/input/input.c index 915e9ab7cab0..ccd8abafcb70 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -11,7 +11,6 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/smp_lock.h> | ||
15 | #include <linux/input.h> | 14 | #include <linux/input.h> |
16 | #include <linux/module.h> | 15 | #include <linux/module.h> |
17 | #include <linux/random.h> | 16 | #include <linux/random.h> |
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 9bcc5425049b..06f0541b24da 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | #include <linux/poll.h> | 25 | #include <linux/poll.h> |
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <linux/smp_lock.h> | ||
28 | #include <linux/device.h> | 27 | #include <linux/device.h> |
29 | 28 | ||
30 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>"); | 29 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>"); |
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 7678e9876550..8675f9509393 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/moduleparam.h> | 19 | #include <linux/moduleparam.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/input.h> | 21 | #include <linux/input.h> |
22 | #include <linux/smp_lock.h> | ||
23 | #include <linux/random.h> | 22 | #include <linux/random.h> |
24 | #include <linux/major.h> | 23 | #include <linux/major.h> |
25 | #include <linux/device.h> | 24 | #include <linux/device.h> |
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 5e5b5c91d75b..8238b13874c2 100644 --- a/drivers/input/tsdev.c +++ b/drivers/input/tsdev.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <linux/init.h> | 48 | #include <linux/init.h> |
49 | #include <linux/input.h> | 49 | #include <linux/input.h> |
50 | #include <linux/major.h> | 50 | #include <linux/major.h> |
51 | #include <linux/smp_lock.h> | ||
52 | #include <linux/random.h> | 51 | #include <linux/random.h> |
53 | #include <linux/time.h> | 52 | #include <linux/time.h> |
54 | #include <linux/device.h> | 53 | #include <linux/device.h> |