From: Ian Abbott Date: Wed, 30 May 2012 18:04:37 +0000 (+0100) Subject: staging: comedi: amplc_pc263: Add a missing case X-Git-Tag: next-20120724~21^2~990 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61f5a223155d278c9731f2406513847b8fe0bddc;p=karo-tx-linux.git staging: comedi: amplc_pc263: Add a missing case 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/amplc_pc263.c b/drivers/staging/comedi/drivers/amplc_pc263.c index a6a25436fadc..f38a56ea4af7 100644 --- a/drivers/staging/comedi/drivers/amplc_pc263.c +++ b/drivers/staging/comedi/drivers/amplc_pc263.c @@ -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