]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: comedi: ni_labpc: remove "dummy" pci boardinfo entry
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:40:13 +0000 (09:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:39:21 +0000 (11:39 -0700)
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@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index 2ae97c5228d0e5f5eedd75948a223b9517f052f9..d2afcaead52347d0ebd51ff9739c1b1236d25640 100644 (file)
@@ -417,11 +417,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
 };