media: atomisp: simplify makefiles

Remove an uneeded define and Makefile.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2020-04-30 09:25:26 +02:00
parent b82cd6b7f5
commit d8763340d2
3 changed files with 2 additions and 4 deletions

View file

@ -334,7 +334,7 @@ DEFINES := -DHRT_HW -DHRT_ISP_CSS_CUSTOM_HOST -DHRT_USE_VIR_ADDRS -D__HOST__
#DEFINES += -DPUNIT_CAMERA_BUSY
#DEFINES += -DUSE_KMEM_CACHE
DEFINES += -DATOMISP_POSTFIX=\"css2400b0_v21\" -DISP2400B0
DEFINES += -DATOMISP_POSTFIX=\"css2400b0_v21\"
DEFINES += -DSYSTEM_hive_isp_css_2400_system -DISP2400
ccflags-y += $(INCLUDES) $(DEFINES) -fno-common

View file

@ -1921,7 +1921,7 @@ static const struct pci_device_id atomisp_pci_tbl[] = {
* FIXME:
* remove the ifs once we get rid of the ifs on other parts of the driver
*/
#if defined(ISP2400) || defined(ISP2400B0)
#if defined(ISP2400)
/* Merrifield */
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x1178), .driver_data = HW_IS_ISP2400},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x1179), .driver_data = HW_IS_ISP2400},

View file

@ -1,2 +0,0 @@
ccflags-y += -DISP2400B0
ISP2400B0 := y