On 2013-01-30 11:04, Ian Abbott wrote:
static int foobar_auto_attach(struct comedi_device *dev, unsigned long context_bn) { struct pci_dev *pcidev = comedi_to_pci_dev(dev); struct foobar_board *thisboard = &foobar_boards[bn_foo];
Oops, I meant &foobar_boards[context_bn] there! -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbo...@mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/