Staging: go7007: Move a dereference below a NULL test
[linux-2.6] / drivers / staging / go7007 / Makefile
1 #obj-m += go7007.o go7007-usb.o snd-go7007.o wis-saa7115.o wis-tw9903.o \
2                 wis-uda1342.o wis-sony-tuner.o wis-saa7113.o wis-ov7640.o \
3                 wis-tw2804.o
4
5
6 obj-$(CONFIG_VIDEO_GO7007) += go7007.o
7 obj-$(CONFIG_VIDEO_GO7007_USB) += go7007-usb.o
8 obj-$(CONFIG_VIDEO_GO7007_USB_S2250_BOARD) += s2250.o
9
10 go7007-objs += go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \
11                 snd-go7007.o wis-saa7113.o
12
13 s2250-objs += s2250-board.o s2250-loader.o
14
15 # Uncompile when the saa7134 patches get into upstream
16 #ifneq ($(CONFIG_VIDEO_SAA7134),)
17 #obj-$(CONFIG_VIDEO_SAA7134) += saa7134-go7007.o
18 #EXTRA_CFLAGS += -Idrivers/media/video/saa7134
19 #endif
20
21 ifneq ($(CONFIG_VIDEO_GO7007_USB_S2250_BOARD),)
22 EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-usb
23 endif
24
25 EXTRA_CFLAGS += -Idrivers/staging/saa7134
26 EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
27 EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core