staging: comedi: Kconfig: COMEDI_NI_ATMIO should select COMEDI_FC
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 26 Sep 2013 17:28:28 +0000 (10:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 23:36:18 +0000 (16:36 -0700)
commit48c8cd291cf74a5673834790bedf135d97404f89
tree4ee2ab78d84a0ec1f7194278dbf7eae22a680e9f
parenta7fa692b5f878fe00699a6691215b961a8fcb276
staging: comedi: Kconfig: COMEDI_NI_ATMIO should select COMEDI_FC

As pointed out by the kbuild test robot, the ni_atmio driver includes
ni_mio_common.c which uses the helper functions in the comedi_fc module.

Select the COMEDI_FC module when COMEDI_NI_ATMIO is enabled to fix the
following build error:

ERROR: "cfc_write_array_to_buffer" [drivers/staging/comedi/drivers/ni_atmio.ko] undefined!

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Kconfig