]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: atomisp_ioctl.c: get rid of a ISP2400/ISP2401 dependency
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 22 Apr 2020 11:49:34 +0000 (13:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit9ad3ac8359fe4e896209df8483fd73989e937290
tree0cf4e3e13a33c2eef8b421e851fe358efc603b7d
parent7c354d92530c3603fe56ec91b0038ebeaa5513f5
media: atomisp: atomisp_ioctl.c: get rid of a ISP2400/ISP2401 dependency

Replace #ifdef occurrences there with runtime checks.

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