From: H Hartley Sweeten Date: Fri, 22 Mar 2013 16:40:13 +0000 (-0700) Subject: staging: comedi: ni_labpc: remove "dummy" pci boardinfo entry X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d23370578a632f61ca2a6ef5656910cebc3d0850;p=linux-beck.git staging: comedi: ni_labpc: remove "dummy" pci boardinfo entry 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 Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c index 2ae97c5228d0..d2afcaead523 100644 --- a/drivers/staging/comedi/drivers/ni_labpc.c +++ b/drivers/staging/comedi/drivers/ni_labpc.c @@ -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 };