staging: comedi: dt9812: include new "comedi_usb.h" header
authorIan Abbott <abbotti@mev.co.uk>
Tue, 27 Jan 2015 17:49:03 +0000 (17:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:18:50 +0000 (11:18 -0800)
Include the new "../comedi_usb.h" header instead of <linux/usb.h> and
"../comedidev.h", which will now get included indirectly.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c

index 06c601d8fdff1d38fb275b0cadd9c2696b96061f..e11c216a4c853f6246a7122e1db1ba9b2d199584 100644 (file)
@@ -42,9 +42,8 @@ for my needs.
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/uaccess.h>
-#include <linux/usb.h>
 
-#include "../comedidev.h"
+#include "../comedi_usb.h"
 
 #define DT9812_DIAGS_BOARD_INFO_ADDR   0xFBFF
 #define DT9812_MAX_WRITE_CMD_PIPE_SIZE 32