]> 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)
commit24f95267772c2e16c9c53d3186a22e2d0b279bae
tree0cf4e3e13a33c2eef8b421e851fe358efc603b7d
parent58e6dc9acdf526db7bd6d83bf596acf619277e53
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