[PATCH 09/12] headers: fs.h vs input.h
From: Alexey Dobriyan
Date: Sat Jun 21 2014 - 06:41:09 EST
---
drivers/hid/hid-roccat.c | 1 +
drivers/hid/usbhid/hiddev.c | 1 +
drivers/input/evdev.c | 1 +
drivers/input/joydev.c | 1 +
drivers/input/mousedev.c | 1 +
drivers/media/rc/imon.c | 1 +
drivers/misc/lis3lv02d/lis3lv02d.c | 1 +
drivers/staging/comedi/drivers/usbdux.c | 1 +
drivers/staging/comedi/drivers/usbduxfast.c | 1 +
drivers/staging/comedi/drivers/usbduxsigma.c | 1 +
drivers/staging/comedi/drivers/vmk80xx.c | 1 +
drivers/staging/frontier/alphatrack.c | 1 +
drivers/staging/frontier/tranzport.c | 1 +
drivers/usb/gadget/f_hid.c | 1 +
drivers/usb/misc/ldusb.c | 1 +
drivers/usb/misc/yurex.c | 1 +
include/linux/input.h | 3 ++-
17 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-roccat.c b/drivers/hid/hid-roccat.c
index 65c4ccfc..c7e1e37 100644
--- a/drivers/hid/hid-roccat.c
+++ b/drivers/hid/hid-roccat.c
@@ -24,6 +24,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/cdev.h>
+#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/hid-roccat.h>
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
index 2f1ddca..8617b1f 100644
--- a/drivers/hid/usbhid/hiddev.c
+++ b/drivers/hid/usbhid/hiddev.c
@@ -25,6 +25,7 @@
* e-mail - mail your message to Paul Stewart <stewart@xxxxxxxxxxxx>
*/
+#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/module.h>
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index fd325ec..1003005 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -15,6 +15,7 @@
#define EVDEV_MIN_BUFFER_SIZE 64U
#define EVDEV_BUF_PACKETS 8
+#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/slab.h>
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c
index f362883..71d1558 100644
--- a/drivers/input/joydev.c
+++ b/drivers/input/joydev.c
@@ -15,6 +15,7 @@
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/errno.h>
+#include <linux/fs.h>
#include <linux/joystick.h>
#include <linux/input.h>
#include <linux/kernel.h>
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index b604564..e9dc31f 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -15,6 +15,7 @@
#define MOUSEDEV_MINORS 31
#define MOUSEDEV_MIX 63
+#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/poll.h>
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 6f24e77..3859b96 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -29,6 +29,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
#include <linux/errno.h>
+#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
diff --git a/drivers/misc/lis3lv02d/lis3lv02d.c b/drivers/misc/lis3lv02d/lis3lv02d.c
index 3ef4627..b6e6e48 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -22,6 +22,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/dmi.h>
#include <linux/module.h>
diff --git a/drivers/staging/comedi/drivers/usbdux.c b/drivers/staging/comedi/drivers/usbdux.c
index 5f65e42..d34b111 100644
--- a/drivers/staging/comedi/drivers/usbdux.c
+++ b/drivers/staging/comedi/drivers/usbdux.c
@@ -80,6 +80,7 @@ sampling rate. If you sample two channels you get 4kHz and so on.
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/semaphore.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c
index 85f9dcf..4636f45 100644
--- a/drivers/staging/comedi/drivers/usbduxfast.c
+++ b/drivers/staging/comedi/drivers/usbduxfast.c
@@ -37,6 +37,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/semaphore.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c
index ccc3ef7..dc2abbd 100644
--- a/drivers/staging/comedi/drivers/usbduxsigma.c
+++ b/drivers/staging/comedi/drivers/usbduxsigma.c
@@ -43,6 +43,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/semaphore.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
diff --git a/drivers/staging/comedi/drivers/vmk80xx.c b/drivers/staging/comedi/drivers/vmk80xx.c
index 0adf3cf..2dac777 100644
--- a/drivers/staging/comedi/drivers/vmk80xx.c
+++ b/drivers/staging/comedi/drivers/vmk80xx.c
@@ -39,6 +39,7 @@ Supports:
#include <linux/mutex.h>
#include <linux/errno.h>
#include <linux/input.h>
+#include <linux/semaphore.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/usb.h>
diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c
index 226b231..0c55bb2 100644
--- a/drivers/staging/frontier/alphatrack.c
+++ b/drivers/staging/frontier/alphatrack.c
@@ -33,6 +33,7 @@
* can be buffered up before the light change makes it to the interface.
*/
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c
index 2f86163..8b5382a 100644
--- a/drivers/staging/frontier/tranzport.c
+++ b/drivers/staging/frontier/tranzport.c
@@ -32,6 +32,7 @@
* can be buffered up before the light change makes it to the interface.
*/
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
diff --git a/drivers/usb/gadget/f_hid.c b/drivers/usb/gadget/f_hid.c
index a95290a..ade6ea7 100644
--- a/drivers/usb/gadget/f_hid.c
+++ b/drivers/usb/gadget/f_hid.c
@@ -9,6 +9,7 @@
* (at your option) any later version.
*/
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hid.h>
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c
index 82503a7..098bff5 100644
--- a/drivers/usb/misc/ldusb.c
+++ b/drivers/usb/misc/ldusb.c
@@ -22,6 +22,7 @@
* 2001-2004 Juergen Stuber <starblue@xxxxxxxxxxxxxxxxxxxxx>
*/
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c
index 1472805..36014668 100644
--- a/drivers/usb/misc/yurex.c
+++ b/drivers/usb/misc/yurex.c
@@ -9,6 +9,7 @@
*
*/
+#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
diff --git a/include/linux/input.h b/include/linux/input.h
index 82ce323..818ed96 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -20,10 +20,11 @@
*/
#include <linux/device.h>
-#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/mod_devicetable.h>
+struct file;
+
/**
* struct input_value - input value representation
* @type: type of value (EV_KEY, EV_ABS, etc)
--
1.8.5.5
--u3/rZRmxL6MmkK24
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0010-headers-fs.h-vs-include-linux-tty.h.patch"