staging: comedi: amplc_pc263: Add a missing case
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 18:04:37 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:48:06 +0000 (20:48 -0700)
There is a missing case label in the switch statement that prints out
details of the attached device in pc263_attach().  Fix it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc263.c

index a6a2543..f38a56e 100644 (file)
@@ -334,6 +334,7 @@ static int pc263_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                break;
 #endif
 #ifdef CONFIG_COMEDI_AMPLC_PC263_PCI
+       case pci_bustype:
                printk("(pci %s) ", pci_name(pci_dev));
                break;
 #endif