diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-04-18 22:16:32 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-04-18 22:16:32 -0400 |
commit | d3135846f6c1858dbad6ccb780a42e6c98953e6d (patch) | |
tree | f1800b9b4b435f86c33385bb4a002239547e3879 /drivers/media | |
parent | 5f090dcb4d4fff373ce7165bce4ba5e87534d50a (diff) |
drivers: Remove unnecessary inclusions of asm/semaphore.h
None of these files use any of the functionality promised by
asm/semaphore.h. It's possible that they rely on it dragging in some
unrelated header file, but I can't build all these files, so we'll have
fix any build failures as they come up.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/radio-aimslab.c | 1 | ||||
-rw-r--r-- | drivers/media/video/ir-kbd-i2c.c | 1 | ||||
-rw-r--r-- | drivers/media/video/ov511.c | 1 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-context.c | 1 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 1 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c index f0a67e93d7fd..c69bde39a233 100644 --- a/drivers/media/radio/radio-aimslab.c +++ b/drivers/media/radio/radio-aimslab.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <asm/uaccess.h> /* copy to/from user */ | 36 | #include <asm/uaccess.h> /* copy to/from user */ |
37 | #include <linux/videodev2.h> /* kernel radio structs */ | 37 | #include <linux/videodev2.h> /* kernel radio structs */ |
38 | #include <media/v4l2-common.h> | 38 | #include <media/v4l2-common.h> |
39 | #include <asm/semaphore.h> /* Lock for the I/O */ | ||
40 | 39 | ||
41 | #include <linux/version.h> /* for KERNEL_VERSION MACRO */ | 40 | #include <linux/version.h> /* for KERNEL_VERSION MACRO */ |
42 | #define RADIO_VERSION KERNEL_VERSION(0,0,2) | 41 | #define RADIO_VERSION KERNEL_VERSION(0,0,2) |
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c index 9851987b95fb..dabafdf71e60 100644 --- a/drivers/media/video/ir-kbd-i2c.c +++ b/drivers/media/video/ir-kbd-i2c.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/i2c.h> | 40 | #include <linux/i2c.h> |
41 | #include <linux/i2c-id.h> | 41 | #include <linux/i2c-id.h> |
42 | #include <linux/workqueue.h> | 42 | #include <linux/workqueue.h> |
43 | #include <asm/semaphore.h> | ||
44 | 43 | ||
45 | #include <media/ir-common.h> | 44 | #include <media/ir-common.h> |
46 | #include <media/ir-kbd-i2c.h> | 45 | #include <media/ir-kbd-i2c.h> |
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c index d55d5800efb4..6590058e8ff0 100644 --- a/drivers/media/video/ov511.c +++ b/drivers/media/video/ov511.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/slab.h> | 41 | #include <linux/slab.h> |
42 | #include <linux/ctype.h> | 42 | #include <linux/ctype.h> |
43 | #include <linux/pagemap.h> | 43 | #include <linux/pagemap.h> |
44 | #include <asm/semaphore.h> | ||
45 | #include <asm/processor.h> | 44 | #include <asm/processor.h> |
46 | #include <linux/mm.h> | 45 | #include <linux/mm.h> |
47 | #include <linux/device.h> | 46 | #include <linux/device.h> |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-context.c b/drivers/media/video/pvrusb2/pvrusb2-context.c index 9d94aed2e12d..160437b21e6d 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-context.c +++ b/drivers/media/video/pvrusb2/pvrusb2-context.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/errno.h> | 26 | #include <linux/errno.h> |
27 | #include <linux/string.h> | 27 | #include <linux/string.h> |
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <asm/semaphore.h> | ||
30 | 29 | ||
31 | 30 | ||
32 | static void pvr2_context_destroy(struct pvr2_context *mp) | 31 | static void pvr2_context_destroy(struct pvr2_context *mp) |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index d6955fa39598..2404053a4d85 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/firmware.h> | 25 | #include <linux/firmware.h> |
26 | #include <linux/videodev2.h> | 26 | #include <linux/videodev2.h> |
27 | #include <media/v4l2-common.h> | 27 | #include <media/v4l2-common.h> |
28 | #include <asm/semaphore.h> | ||
29 | #include "pvrusb2.h" | 28 | #include "pvrusb2.h" |
30 | #include "pvrusb2-std.h" | 29 | #include "pvrusb2-std.h" |
31 | #include "pvrusb2-util.h" | 30 | #include "pvrusb2-util.h" |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index 7a1cd878e31a..07f4eae18433 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <asm/semaphore.h> | ||
25 | #include "pvrusb2-sysfs.h" | 24 | #include "pvrusb2-sysfs.h" |
26 | #include "pvrusb2-hdw.h" | 25 | #include "pvrusb2-hdw.h" |
27 | #include "pvrusb2-debug.h" | 26 | #include "pvrusb2-debug.h" |