aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/addi_apci_3200.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2010-05-19 15:11:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-04 13:38:52 -0700
commit6d8b0f5be5108f6a3fc922ca4acfbf10e14d6cd0 (patch)
tree5fb4093ea8a058bbee0570d4ce0ba51b6ab58165 /drivers/staging/comedi/drivers/addi_apci_3200.c
parentStaging: mid: Intel MID touch screen driver (diff)
downloadlinux-dev-6d8b0f5be5108f6a3fc922ca4acfbf10e14d6cd0.tar.xz
linux-dev-6d8b0f5be5108f6a3fc922ca4acfbf10e14d6cd0.zip
Staging: comedi: Give the addi_apci_* drivers different driver names
It is not currently possible for more than one of the addi_apci_* drivers to register themselves with comedi at once because they all use the same comedi driver name "addi_common". Give them different names. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/addi_apci_3200.c')
-rw-r--r--drivers/staging/comedi/drivers/addi_apci_3200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/addi_apci_3200.c b/drivers/staging/comedi/drivers/addi_apci_3200.c
index f25a70b3290b..159313997dcf 100644
--- a/drivers/staging/comedi/drivers/addi_apci_3200.c
+++ b/drivers/staging/comedi/drivers/addi_apci_3200.c
@@ -1,3 +1,5 @@
#define CONFIG_APCI_3200 1
+#define ADDIDATA_DRIVER_NAME "addi_apci_3200"
+
#include "addi-data/addi_common.c"