diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-06-18 16:53:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-18 17:39:21 -0700 |
commit | 55232eca66c540cbef9b950e71b358137651955b (patch) | |
tree | f5d651ee47ee39e76032cfec99c965face9948cc /drivers/staging/Kconfig | |
parent | 76728a93a70f23c6376c728e337fb26473737e7f (diff) | |
download | linux-55232eca66c540cbef9b950e71b358137651955b.tar.bz2 |
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