]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: atomisp_compat_ioctl32.c: be independent of ISP version
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 22 Apr 2020 12:33:07 +0000 (14:33 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit307cdb3603e97aa87e351f0411bab22bff44d09d
tree57aa37d1a4d8f485cced8d50fc658132801ad84e
parentef73518a456f40a67206461f8da00ab16e631e4c
media: atomisp: atomisp_compat_ioctl32.c: be independent of ISP version

There are two ioctls that are only available with ISP2401. Yet,
at the compat level, we don't really need to take care, as
the native ioctl handler will already return an error code if
the ioctl doesn't exist.

So, let's just remove the ifdefs here.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_ioctl32.c