staging: comedi: resolve section mismatch in s626
authorGerard Snitselaar <dev@snitselaar.org>
Tue, 24 Apr 2012 01:30:06 +0000 (18:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:43:59 +0000 (11:43 -0700)
commite17b8e484d429134b9693405e0f9b0936e007885
tree0a7f61a3aa617b048ba523c44b0a453ef5568123
parent3e699ed17040f7c8474bbeaf834077f78d301e13
staging: comedi: resolve section mismatch in s626

s626_attach is referencing s626_pci_table which is annotated
__devinitconst. Put pci vendor/device ids in the s626_board struct and
use s626_boards instead similar to what is done in gsc_hpdi.

v2: I had moved the PCI id defines to s626.h earlier, but later
decided to leave them in s626.c and forgot to move them up above where
they are being used in s626_boards.

Signed-off-by: Gerard Snitselaar <dev@snitselaar.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c