On Tuesday, January 27, 2015 10:49 AM, Ian Abbott wrote: > "comedidev.h" includes USB-specific stuff that gets included by all > comedi drivers including non-USB ones. Separate it out into its own > header "comedi_usb.h". Make the new header include <linux/usb.h> and > "comedidev.h" so that comedi USB drivers do not need to include them > explicitly. > > 1) staging: comedi: add comedi_usb.h > 2) staging: comedi: comedi_usb.c: include new "comedi_usb.h" header > 3) staging: comedi: dt9812: include new "comedi_usb.h" header > 4) staging: comedi: ni_usb6501: include new "comedi_usb.h" header > 5) staging: comedi: usbdux: include new "comedi_usb.h" header > 6) staging: comedi: usbduxfast: include new "comedi_usb.h" header > 7) staging: comedi: usbduxsigma: include new "comedi_usb.h" header > 8) staging: comedi: vmk80xx: include new "comedi_usb.h" header > 9) staging: comedi: comedi_usb.h: move USB stuff out of comedidev.h > > drivers/staging/comedi/comedi_usb.c | 3 +- > drivers/staging/comedi/comedi_usb.h | 50 ++++++++++++++++++++++++++++ > drivers/staging/comedi/comedidev.h | 29 ---------------- > drivers/staging/comedi/drivers/dt9812.c | 3 +- > drivers/staging/comedi/drivers/ni_usb6501.c | 3 +- > drivers/staging/comedi/drivers/usbdux.c | 3 +- > drivers/staging/comedi/drivers/usbduxfast.c | 3 +- > drivers/staging/comedi/drivers/usbduxsigma.c | 3 +- > drivers/staging/comedi/drivers/vmk80xx.c | 3 +- > 9 files changed, 57 insertions(+), 43 deletions(-) Reviewed-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel