linux/drivers/staging
H Hartley Sweeten abac8b54a3 staging: comedi: conditionally build in USB driver support
Separate the comedi_usb_* functions out of drivers.c into a new
source file, comedi_usb.c. This allows conditionally building
support for comedi USB drivers into the comedi core without the
need for the #if'defery. Fix the Kconfig and Makefile appropriately.
For aesthetic reasons, add some whitespace to the Makefile to keep
everything lined up.

Group all the comedi_usb_* prototypes into one place in comedidev.h.
Protect these prototypes with an #ifdef so that building a comedi
usb driver without USB support will cause a build error. This will
normally not happen as long as the comedi USB driver is placed in
the proper group in the Kconfig.

Remove the #include<linux/usb.h> from comedidev.h and drivers.c. This
include is only needed by the comedi USB driver support code and the
USB drivers. The include should occur in those files.

Removing the include of usb.h exposed a couple drivers that need
<linux/interrupt.h> and <linux/sched.h>. Add the missing includes.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-31 10:35:48 +01:00
..
android staging: alarm-dev: Implement compat_ioctl support 2013-01-18 12:37:11 -08:00
asus_oled
bcm Staging: bcm: copying more data than intended 2013-01-17 13:52:37 -08:00
ccg
ced1401 staging: ced1401: fix GFP_KERNEL in spinlock context 2013-01-11 16:44:10 -08:00
comedi staging: comedi: conditionally build in USB driver support 2013-01-31 10:35:48 +01:00
cptm1217
crystalhd
csr staging/csr: Use kmemdup rather than duplicating its implementation 2013-01-29 23:22:16 -05:00
cxt1e1 staging: cxt1e1: buffer overflow in do_del_chan() 2013-01-25 11:21:26 -08:00
dgrp staging: dgrp: check for a valid proc dir entry pointer 2013-01-22 08:58:44 -08:00
echo staging: echo.c: fix memory leakage 2013-01-07 14:03:32 -08:00
et131x staging: et131x: Fix all sparse warnings 2013-01-22 09:15:18 -08:00
frontier
ft1000 Staging: ft1000-usb: Fix call to obsolete function 2013-01-07 12:33:45 -08:00
fwserial staging/fwserial: Fix compiler warning 2013-01-31 10:30:34 +01:00
gdm72xx
goldfish goldfish: NAND flash driver 2013-01-24 13:53:23 -08:00
iio iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
imx-drm staging: ipu-di: Change DI address info to dev_dbg 2013-01-17 13:52:37 -08:00
keucr staging: keucr: Fix parens/braces 2013-01-07 12:59:25 -08:00
line6 staging: line6: clean up line6_variax_process_message() 2013-01-20 15:57:47 -08:00
media
net
nvec staging: nvec: cleanup the string mess 2013-01-29 23:25:10 -05:00
octeon
olpc_dcon
omap-thermal staging: omap-thermal/omap-bandgap.c: adjust duplicate test 2013-01-21 14:00:10 -08:00
omapdrm staging/omapdrm: Use kmemdup rather than duplicating its implementation 2013-01-29 23:22:16 -05:00
ozwpan staging:ozwpan: Fix following warning. 2013-01-29 23:25:10 -05:00
panel
phison
quickstart
rtl8187se Merge branch 'staging-linus' into staging-next 2013-01-07 15:17:52 -08:00
rtl8192e staging: rtl8192e: Fix failure to check pci_map_single() 2013-01-07 12:57:27 -08:00
rtl8192u staging: rtl8192u: fixed coding style issues in r8192U_core.c 2013-01-11 16:37:11 -08:00
rtl8712 rtl8712: remove unused definitions from ethernet.h 2013-01-11 16:39:12 -08:00
rts5139
sb105x Merge 3.8-rc5 into staging-next 2013-01-25 21:25:02 -08:00
sbe-2t3e3
sep staging: sep: remove assignment to i and j in sep_crypto_setup 2013-01-22 08:58:44 -08:00
serqt_usb2
silicom
slicoss staging: slicoss: Fix space-related checkpatch.pl warnings 2013-01-17 13:53:06 -08:00
sm7xxfb
speakup Staging: speakup: kobjects.c: checkpatch.pl fixes 2013-01-17 13:31:07 -08:00
ste_rmi4
tidspbridge staging: tidspbridge/pmgr: another using strlcpy instead of strncpy 2013-01-21 14:00:10 -08:00
usbip staging: usbip: replace the interrupt safe spinlocks with common ones. 2013-01-22 09:00:10 -08:00
vme Merge branch 'staging-linus' into staging-next 2013-01-07 15:17:52 -08:00
vt6655 staging: vt6655: no braces needed for single statement if , for blocks 2013-01-17 13:17:03 -08:00
vt6656 staging: vt6656: Fix URB submitted while active warning. 2013-01-31 10:30:45 +01:00
winbond staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
wlags49_h2 staging: wlags49_h2: remove unneeded memset() in wireless_get_bssid() 2013-01-07 11:08:12 -08:00
wlags49_h25
wlan-ng Merge 3.8-rc5 into staging-next 2013-01-25 21:25:02 -08:00
xgifb staging: xgifb: delete pVBInfo->BaseAddr 2013-01-21 14:00:10 -08:00
zcache Staging: zcache: remove unnecessary braces in zcache-main.c 2013-01-29 23:22:16 -05:00
zram staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00
zsmalloc staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00
Kconfig goldfish: audio support 2013-01-24 13:51:38 -08:00
Makefile goldfish: audio support 2013-01-24 13:51:38 -08:00
staging.c