RE: [PATCH 2/9] staging: comedi: das08: Check bus type is supported.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, May 23, 2012 9:50 AM, Ian Abbott wrote:
> As the das08_common_attach() and das08_common_detach() functions are
> exported (but are only used by the das08_cs module for PCMCIA cards),
> check that we support the bus type of the passed in device.
>
> Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>

Minor nit in this patch.

<snip>

@@ -1007,9 +1024,10 @@ static int das08_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 		return ret;
 
 	printk(KERN_INFO "comedi%d: das08: ", dev->minor);
+	switch (thisboard->bustype)
+	{

The '{' should be on the same line as the switch.

Regards,
Hartley
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux