Skip to content

Commit

Permalink
Staging: comedi: set up infrastructure for individual drivers
Browse files Browse the repository at this point in the history
This adds two "generic" Kconfig options, one for PCI and one for USB
comedi drivers, and the Makefile infrastructure as well.  This is so
we can start adding individual comedi drivers and add them to the build
properly.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent b79a7a2 commit 84c9dc2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/staging/comedi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ config COMEDI_RT
default N
---help---
Enable Real time support for the Comedi core.

config COMEDI_PCI_DRIVERS
tristate "Comedi PCI drivers"
depends on COMEDI && PCI
default N
---help---
Enable lots of comedi PCI drivers to be built

config COMEDI_USB_DRIVERS
tristate "Comedi USB drivers"
depends on COMEDI && USB
default N
---help---
Enable lots of comedi USB drivers to be built
1 change: 1 addition & 0 deletions drivers/staging/comedi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ obj-$(CONFIG_COMEDI) += comedi.o
obj-$(CONFIG_COMEDI_RT) += comedi_rt.o

obj-$(CONFIG_COMEDI) += kcomedilib/
obj-$(CONFIG_COMEDI) += drivers/

comedi-objs := \
comedi_fops.o \
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/comedi/drivers/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Makefile for individual comedi drivers
#

0 comments on commit 84c9dc2

Please sign in to comment.