From: Greg Kroah-Hartman Date: Fri, 17 Apr 2009 16:51:01 +0000 (-0700) Subject: Staging: comedi: set PCI and PCMCIA defines X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=056d3ce5cfe3544b297e6bc90ffbbb317e7bbbff;p=deliverable%2Flinux.git Staging: comedi: set PCI and PCMCIA defines The comedi drivers are looking for CONFIG_COMEDI_PCI and CONFIG_COMEDI_PCMCIA, not the current config items. This creates a define so that things build properly when these options are selected. Long term goal is to fix up the drivers to not need any defines. Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 414a2cf557b0..753d3ab312c0 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -525,4 +525,17 @@ void comedi_usb_auto_unconfig(struct usb_device *usbdev); #include "comedi_rt.h" +#ifdef CONFIG_COMEDI_PCI_DRIVERS + #define CONFIG_COMEDI_PCI +#endif +#ifdef CONFIG_COMEDI_PCI_DRIVERS_MODULE + #define CONFIG_COMEDI_PCI +#endif +#ifdef CONFIG_COMEDI_PCMCIA_DRIVERS + #define CONFIG_COMEDI_PCMCIA +#endif +#ifdef CONFIG_COMEDI_PCMCIA_DRIVERS_MODULE + #define CONFIG_COMEDI_PCMCIA +#endif + #endif /* _COMEDIDEV_H */