]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: quatech_daqp_cs: fix build error
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 21:12:07 +0000 (14:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 21:39:38 +0000 (13:39 -0800)
commita9d50943b80803bfeca18632d75645062e02f133
tree1cafc8650d3f55d6597866d3e4b49994f2a08516
parent82e9ee616a89f152f42c7051c5f9f5f0d7663652
staging: comedi: quatech_daqp_cs: fix build error

The kbuild test robot reported a build error in this driver caused by:

commit: a3ac95195b020a0a8fa2a9b0649145324ba64c83
staging: comedi: comedi_pcmcia: allow drivers to use a custom conf_check()

This commit changed the comedi_pcmcia_enable() function so that it now
takes two arguments. The new argument is an optional (*conf_check)
function that is passed to pcmcia_loop_config().

This driver uses the default (*conf_check) in comedi_pcmcia.c so just
pass a NULL as the second arg.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/quatech_daqp_cs.c