summaryrefslogtreecommitdiff
path: root/drivers/staging/Kconfig
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-06-18 23:53:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-19 00:39:21 (GMT)
commit55232eca66c540cbef9b950e71b358137651955b (patch)
treef5d651ee47ee39e76032cfec99c965face9948cc /drivers/staging/Kconfig
parent76728a93a70f23c6376c728e337fb26473737e7f (diff)
downloadlinux-fsl-qoriq-55232eca66c540cbef9b950e71b358137651955b.tar.xz
staging: comedi: comedi_compat_ioctl should be NULL not 0
When CONFIG_COMPAT is not defined, comedi_compat_ioctl should be NULL not 0 in order to set the file_operations compat_ioctl variable correctly. This quiets a sparse warning about: warning: Using plain integer as NULL pointer Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/Kconfig')
0 files changed, 0 insertions, 0 deletions