OSDN Git Service

media: atomisp: simplify makefiles
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Apr 2020 07:25:26 +0000 (09:25 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:19 +0000 (12:32 +0200)
Remove an uneeded define and Makefile.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp2/Makefile
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/Makefile [deleted file]

index 0309e10..06f52fb 100644 (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
index 87736e7..d294e6a 100644 (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},
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/Makefile b/drivers/staging/media/atomisp/pci/atomisp2/css2400/Makefile
deleted file mode 100644 (file)
index ee5631b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-ccflags-y += -DISP2400B0
-ISP2400B0 := y