[PATCH 11/51] staging: comedi: ni_labpc: remove "dummy" pci boardinfo entry
H Hartley Sweeten
hsweeten at visionengravers.com
Fri Mar 22 16:40:13 UTC 2013
This driver uses the comedi auto config mechanism to attach to PCI
boards. The "dummy" entry in the boardinfo table is not needed.
Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Ian Abbott <abbotti at mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
drivers/staging/comedi/drivers/ni_labpc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c
index 0152da9..576cd41 100644
--- a/drivers/staging/comedi/drivers/ni_labpc.c
+++ b/drivers/staging/comedi/drivers/ni_labpc.c
@@ -354,11 +354,6 @@ static const struct labpc_boardinfo labpc_boards[] = {
.ai_scan_up = 1,
.memory_mapped_io = 1,
},
-/* dummy entry so pci board works when comedi_config is passed driver name */
- {
- .name = DRV_NAME,
- .bustype = pci_bustype,
- },
#endif
};
--
1.8.1.4
More information about the devel
mailing list