From: David Schleef Date: Fri, 7 Dec 2001 02:13:28 +0000 (+0000) Subject: Remove bogus driver registration X-Git-Tag: r0_7_62~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a80f728e375eae9953187966ae615ce2c3759b92;p=comedi.git Remove bogus driver registration --- diff --git a/comedi/drivers.c b/comedi/drivers.c index f98a07d1..fc098c1e 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -350,87 +350,3 @@ static int insn_rw_emulate_bits(comedi_device *dev,comedi_subdevice *s, return 1; } -#define REG(x) {extern comedi_driver (x);comedi_driver_register(&(x));} - -void init_drivers(void) -{ -#ifdef CONFIG_COMEDI_DT282x - REG(driver_dt282x); -#endif -#ifdef CONFIG_COMEDI_NI_PCIMIO - REG(driver_pcimio); -#endif -#ifdef CONFIG_COMEDI_NI_ATMIO - REG(driver_atmio); -#endif -#ifdef CONFIG_COMEDI_DT2801 - REG(driver_dt2801); -#endif -#ifdef CONFIG_COMEDI_DT2811 - REG(driver_dt2811); -#endif -#ifdef CONFIG_COMEDI_DT2814 - REG(driver_dt2814); -#endif -#ifdef CONFIG_COMEDI_DT2817 - REG(driver_dt2817); -#endif -#ifdef CONFIG_COMEDI_DT3000 - REG(driver_dt3000); -#endif -#ifdef CONFIG_COMEDI_8255 - REG(driver_8255); -#endif -#ifdef CONFIG_NI_PCIDIO - REG(driver_nidio); -#endif -#ifdef CONFIG_COMEDI_DAS08 - REG(driver_das08); -#endif -#ifdef CONFIG_COMEDI_PCL711 - REG(driver_pcl711); -#endif -#ifdef CONFIG_COMEDI_PCL725 - REG(driver_pcl725); -#endif -#ifdef CONFIG_COMEDI_PCL726 - REG(driver_pcl726); -#endif -#ifdef CONFIG_COMEDI_RTI800 - REG(driver_rti800); -#endif -#ifdef CONFIG_COMEDI_RTI802 - REG(driver_rti802); -#endif -#ifdef CONFIG_COMEDI_RTI860 - REG(driver_rti860); -#endif -#ifdef CONFIG_COMEDI_PARPORT - REG(driver_parport); -#endif -#ifdef CONFIG_COMEDI_DAS08JR - REG(driver_das08jr); -#endif -#ifdef CONFIG_COMEDI_DAS1600 - REG(driver_das1600); -#endif -#ifdef CONFIG_COMEDI_DAS6402 - REG(driver_das6402); -#endif -#ifdef CONFIG_COMEDI_MULTIQ3 - REG(driver_multiq3); -#endif -#ifdef CONFIG_COMEDI_DT2815 - REG(driver_dt2815); -#endif -#ifdef CONFIG_COMEDI_DAS16 - REG(driver_das16); -#endif -#ifdef CONFIG_COMEDI_PCL812 - REG(driver_pcl812); -#endif -#ifdef CONFIG_COMEDI_DAQBOARD2000 - REG(driver_daqboard2000); -#endif -} -