diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-01-30 21:26:01 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:11 -0500 |
commit | 05ad390724d1f307111a322325df83282a1479e6 (patch) | |
tree | 8b8dc80c42e3139ae8aa308f80633b92079835f5 /drivers/media/video/saa7134/saa7134.h | |
parent | 6827709a6148a6e8530d90027b4f31aa0aaa5ae5 (diff) |
V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings
The out of tree v4l-dvb build system didn't always override the kernel's
configuration settings with v4l-dvb's settings correctly. To work around
this, makefiles would define some new macro based on the setting of a
config variable. e.g. the pwc Makefile would define CONFIG_PWC_DEBUG if
CONFIG_USB_PWC_DEBUG (which is defined via Kconfig) was set.
The v4l-dvb build system should now always override correctly, and this
is no longer necessary. This patch gets ride of these extra defines and
just uses the CONFIG_* settings directly.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 181a1d0fb1e9..2ad859bda2e3 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -41,7 +41,9 @@ | |||
41 | #include <sound/driver.h> | 41 | #include <sound/driver.h> |
42 | #include <sound/core.h> | 42 | #include <sound/core.h> |
43 | #include <sound/pcm.h> | 43 | #include <sound/pcm.h> |
44 | #if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE) | ||
44 | #include <media/video-buf-dvb.h> | 45 | #include <media/video-buf-dvb.h> |
46 | #endif | ||
45 | 47 | ||
46 | #ifndef TRUE | 48 | #ifndef TRUE |
47 | # define TRUE (1==1) | 49 | # define TRUE (1==1) |
@@ -532,9 +534,11 @@ struct saa7134_dev { | |||
532 | struct work_struct empress_workqueue; | 534 | struct work_struct empress_workqueue; |
533 | int empress_started; | 535 | int empress_started; |
534 | 536 | ||
537 | #if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE) | ||
535 | /* SAA7134_MPEG_DVB only */ | 538 | /* SAA7134_MPEG_DVB only */ |
536 | struct videobuf_dvb dvb; | 539 | struct videobuf_dvb dvb; |
537 | int (*original_demod_sleep)(struct dvb_frontend* fe); | 540 | int (*original_demod_sleep)(struct dvb_frontend* fe); |
541 | #endif | ||
538 | }; | 542 | }; |
539 | 543 | ||
540 | /* ----------------------------------------------------------- */ | 544 | /* ----------------------------------------------------------- */ |