OSDN Git Service

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)
commit483f5215a2f48e500717862f9dbb18823221894e
tree57aa37d1a4d8f485cced8d50fc658132801ad84e
parent7ef17aa55fc381a6f3280203cd85175cb14b631f
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