staging: comedi: ni_labpc: remove range_labpc_1200_ai export
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 23 Apr 2013 19:57:58 +0000 (12:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 21:32:30 +0000 (14:32 -0700)
commit70d52bce5523f2c6a7bf3f9a54dacc0be112a3e8
tree8d25965296fb1b99c645ce4ca85ad56681a12f5d
parent63d6ba20bab01ea1a92b3fe7718416a8527e009a
staging: comedi: ni_labpc: remove range_labpc_1200_ai export

The 'ai_range_table' boardinfo is only used to initialize the
analog input subdevice s->range_table. We can use the 'is_labpc1200'
flag in the boardinfo to determine which range table is needed.

This allows making range_labpc_1200_ai static and removing the
export as well as removing the 'ai_range_table' from the boardinfo.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c
drivers/staging/comedi/drivers/ni_labpc.h
drivers/staging/comedi/drivers/ni_labpc_cs.c
drivers/staging/comedi/drivers/ni_labpc_pci.c