Commit 8c31522c authored by Peter Senna Tschudin's avatar Peter Senna Tschudin Committed by Mauro Carvalho Chehab

[media] [V2,02/24] pci/saa7134/saa7134.h: use IS_ENABLED() macro

replace:
 #if defined(CONFIG_VIDEO_SAA7134_DVB) || \
     defined(CONFIG_VIDEO_SAA7134_DVB_MODULE)
with:
 #if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB)
This change was made for: CONFIG_VIDEO_SAA7134_DVB
Reported-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8268979a
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <media/videobuf-dma-sg.h> #include <media/videobuf-dma-sg.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/pcm.h> #include <sound/pcm.h>
#if defined(CONFIG_VIDEO_SAA7134_DVB) || defined(CONFIG_VIDEO_SAA7134_DVB_MODULE) #if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB)
#include <media/videobuf-dvb.h> #include <media/videobuf-dvb.h>
#endif #endif
...@@ -644,7 +644,7 @@ struct saa7134_dev { ...@@ -644,7 +644,7 @@ struct saa7134_dev {
struct work_struct empress_workqueue; struct work_struct empress_workqueue;
int empress_started; int empress_started;
#if defined(CONFIG_VIDEO_SAA7134_DVB) || defined(CONFIG_VIDEO_SAA7134_DVB_MODULE) #if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB)
/* SAA7134_MPEG_DVB only */ /* SAA7134_MPEG_DVB only */
struct videobuf_dvb_frontends frontends; struct videobuf_dvb_frontends frontends;
int (*original_demod_sleep)(struct dvb_frontend *fe); int (*original_demod_sleep)(struct dvb_frontend *fe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment