Browse Source

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 <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ian Abbott 13 years ago
parent
commit
61f5a22315
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/staging/comedi/drivers/amplc_pc263.c

+ 1 - 0
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