OSDN Git Service

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)
commit9ace178dee15432712fc70a5f84cb00695fc70b9
tree0cf4e3e13a33c2eef8b421e851fe358efc603b7d
parent643405b0fff41787834c122660d77d9ebdb5c3a4
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