Staging: comedi: cb_pcidio: fix "section mismatch" error
authorIan Abbott <abbotti@mev.co.uk>
Mon, 21 Sep 2009 19:23:32 +0000 (15:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:47:24 +0000 (13:47 -0700)
commitaa65d22ae6412f474e5ba23fc363137b6c53eef9
treec6f6fc5e32e3bcca890c2e0b369c434e3b1eed86
parentb1f68dc1d610159db0e8546117d86657f35a03b5
Staging: comedi: cb_pcidio: fix "section mismatch" error

Store PCI device IDs in the board info and use this for matching IDs in
the code instead of using the module device table.

This avoids a "section mismatch" error.

Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/cb_pcidio.c