]> 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)
commit2e0420a4171baab9dd14d9755bc939c2714e9cd3
tree57aa37d1a4d8f485cced8d50fc658132801ad84e
parent7ec54681438b3f0ac616ca369bf1ac34c13dea6c
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