]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
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 a6a25436fadc1607c96735d4acc0ae620d745461..f38a56ea4af77872cca637d3b8fdfcca0527f1f8 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