media: don't include drivers/media/i2c at cflags
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Dec 2017 19:06:30 +0000 (14:06 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Dec 2017 19:14:09 +0000 (14:14 -0500)
Most of the I2C headers got moved a long time ago to
include/media/i2c. Stop including them at the patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
17 files changed:
drivers/media/i2c/cx25840/Makefile
drivers/media/pci/bt8xx/Makefile
drivers/media/pci/cx23885/Makefile
drivers/media/pci/cx25821/Makefile
drivers/media/pci/cx88/Makefile
drivers/media/pci/ivtv/Makefile
drivers/media/pci/saa7134/Makefile
drivers/media/pci/saa7164/Makefile
drivers/media/platform/Makefile
drivers/media/platform/sti/c8sectpfe/Makefile
drivers/media/usb/cx231xx/Makefile
drivers/media/usb/em28xx/Makefile
drivers/media/usb/hdpvr/Makefile
drivers/media/usb/pvrusb2/Makefile
drivers/media/usb/stk1160/Makefile
drivers/media/usb/tm6000/Makefile
drivers/media/usb/usbvision/Makefile

index 898eb13340ae193ef8937c709987f65dbcab209b..ac545812fc6a95effba40ca300e13badc34ef778 100644 (file)
@@ -2,5 +2,3 @@ cx25840-objs    := cx25840-core.o cx25840-audio.o cx25840-firmware.o \
                   cx25840-vbi.o cx25840-ir.o
 
 obj-$(CONFIG_VIDEO_CX25840) += cx25840.o
-
-ccflags-y += -Idrivers/media/i2c
index ab0ea64d3910c74cf148399b0adfcfca026f99fc..7f1c3beb1bbc64d62078acbc357aa1151d8e97f1 100644 (file)
@@ -7,6 +7,5 @@ obj-$(CONFIG_VIDEO_BT848) += bttv.o
 obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o
 
 ccflags-y += -Idrivers/media/dvb-frontends
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/tuners
index 3f37dcadbaaf05c79516416b64029dda06080b86..130f0aa29ac602f2fc022852782ff1631f7a929c 100644 (file)
@@ -8,7 +8,6 @@ cx23885-objs    := cx23885-cards.o cx23885-video.o cx23885-vbi.o \
 obj-$(CONFIG_VIDEO_CX23885) += cx23885.o
 obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
 
index d14d65b1b042dd643b5cd45f89c603d89408caa1..94633d02ac7f2676bde34bffe927f5c339ea7073 100644 (file)
@@ -5,5 +5,3 @@ cx25821-y   := cx25821-core.o cx25821-cards.o cx25821-i2c.o \
 
 obj-$(CONFIG_VIDEO_CX25821) += cx25821.o
 obj-$(CONFIG_VIDEO_CX25821_ALSA) += cx25821-alsa.o
-
-ccflags-y += -Idrivers/media/i2c
index dea0e7ac32e83ca94c48d7d575c4c69a4db8146a..d0f45d652d6e051487928163c2b3f61897b47d75 100644 (file)
@@ -10,7 +10,5 @@ obj-$(CONFIG_VIDEO_CX88_ALSA) += cx88-alsa.o
 obj-$(CONFIG_VIDEO_CX88_BLACKBIRD) += cx88-blackbird.o
 obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o
 obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o
-
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
index 08987a5d55fc1991ad6ff4d2e25ee81cc1a777d1..5de95dbe325636feedf0e8f1bf19f3075b2d8cee 100644 (file)
@@ -10,7 +10,6 @@ obj-$(CONFIG_VIDEO_IVTV) += ivtv.o
 obj-$(CONFIG_VIDEO_IVTV_ALSA) += ivtv-alsa.o
 obj-$(CONFIG_VIDEO_FB_IVTV) += ivtvfb.o
 
-ccflags-y += -I$(srctree)/drivers/media/i2c
 ccflags-y += -I$(srctree)/drivers/media/tuners
 ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
 
index 959f2766b09334c10a55968ac5bd3cf7c3504a8e..82ac7f31221bb027ce26aa5c8699f6b7493f1594 100644 (file)
@@ -12,7 +12,6 @@ obj-$(CONFIG_VIDEO_SAA7134_ALSA) += saa7134-alsa.o
 
 obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o
 
-ccflags-y += -I$(srctree)/drivers/media/i2c
 ccflags-y += -I$(srctree)/drivers/media/tuners
 ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
 ccflags-y += -I$(srctree)/drivers/media/usb/go7007
index 54840d659a5d31eb58649b698bbf46b7418130bd..dea076744ec962e8df9f5fd77e41d32512d2b55b 100644 (file)
@@ -5,8 +5,5 @@ saa7164-objs    := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \
 
 obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o
 
-ccflags-y += -I$(srctree)/drivers/media/i2c
 ccflags-y += -I$(srctree)/drivers/media/tuners
 ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
-
-ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
index 003b0bb2cddf1389813674354eaf3d9a247f9248..347fba8177b59fd057a8da0991f82845d0e9d7f8 100644 (file)
@@ -82,8 +82,6 @@ obj-$(CONFIG_VIDEO_ATMEL_ISI)         += atmel/
 
 obj-$(CONFIG_VIDEO_STM32_DCMI)         += stm32/
 
-ccflags-y += -I$(srctree)/drivers/media/i2c
-
 obj-$(CONFIG_VIDEO_MEDIATEK_VPU)       += mtk-vpu/
 
 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC)    += mtk-vcodec/
index 927dd930c9439ac315ff7c0219e63aa7a4e8951d..34d69472b6f0f1fd367ed46e9e2bed724d3e6388 100644 (file)
@@ -4,7 +4,6 @@ c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \
 
 obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/common
 ccflags-y += -Idrivers/media/dvb-frontends/
 ccflags-y += -Idrivers/media/tuners/
index 79cf46eb151ad51db8857f9564a1f3a53e6d57a1..c023d97407de450c792111bf70460f3abfe108f7 100644 (file)
@@ -9,7 +9,6 @@ obj-$(CONFIG_VIDEO_CX231XX) += cx231xx.o
 obj-$(CONFIG_VIDEO_CX231XX_ALSA) += cx231xx-alsa.o
 obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
 ccflags-y += -Idrivers/media/usb/dvb-usb
index c3d3570584e15782863ae504a689f1b59701d8ba..8a224007d755ca6453e09b54bd93e7f0bcc1b09f 100644 (file)
@@ -11,6 +11,5 @@ obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o
 obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o
 obj-$(CONFIG_VIDEO_EM28XX_RC) += em28xx-rc.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
index 9b8d1463c52636dd18814ca3b8f61b7463a306eb..644dd99ffce300ee3c4ecc69dbe16f5ee52d3e6c 100644 (file)
@@ -1,7 +1,3 @@
 hdpvr-objs     := hdpvr-control.o hdpvr-core.o hdpvr-video.o hdpvr-i2c.o
 
 obj-$(CONFIG_VIDEO_HDPVR) += hdpvr.o
-
-ccflags-y += -Idrivers/media/i2c
-
-ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
index 552e4f12c496ec69d5ae0c4c032fc8c176856c66..9facf6873404da4c0fcaa5d9cbb36defd406a92b 100644 (file)
@@ -17,6 +17,5 @@ pvrusb2-objs  := pvrusb2-i2c-core.o \
 
 obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
index 613471528749eee67825df453fea81146a108a26..8e6c22fb1803a9e01e8302217460bbc353fbac85 100644 (file)
@@ -6,5 +6,3 @@ stk1160-y :=    stk1160-core.o \
                stk1160-ac97.o
 
 obj-$(CONFIG_VIDEO_STK1160) += stk1160.o
-
-ccflags-y += -Idrivers/media/i2c
index 62f8528daef2e358e83ac31e368d54a8edb54bdd..744c039e621a845302425361bcfc4d0d5f9f043b 100644 (file)
@@ -10,6 +10,5 @@ obj-$(CONFIG_VIDEO_TM6000) += tm6000.o
 obj-$(CONFIG_VIDEO_TM6000_ALSA) += tm6000-alsa.o
 obj-$(CONFIG_VIDEO_TM6000_DVB) += tm6000-dvb.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners
 ccflags-y += -Idrivers/media/dvb-frontends
index 9b3a5581df4205f240143bbabf64dec4c60ad5ab..494d030b497968a97e6be99786a294a444208cb8 100644 (file)
@@ -2,5 +2,4 @@ usbvision-objs  := usbvision-core.o usbvision-video.o usbvision-i2c.o usbvision-
 
 obj-$(CONFIG_VIDEO_USBVISION) += usbvision.o
 
-ccflags-y += -Idrivers/media/i2c
 ccflags-y += -Idrivers/media/tuners