aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/dvb-core/dvbdev.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-core/dvbdev.h b/drivers/media/dvb/dvb-core/dvbdev.h
index 895e2efca8a9..01fc70484743 100644
--- a/drivers/media/dvb/dvb-core/dvbdev.h
+++ b/drivers/media/dvb/dvb-core/dvbdev.h
@@ -31,10 +31,9 @@
31#define DVB_MAJOR 212 31#define DVB_MAJOR 212
32 32
33#if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0 33#if defined(CONFIG_DVB_MAX_ADAPTERS) && CONFIG_DVB_MAX_ADAPTERS > 0
34#define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS 34 #define DVB_MAX_ADAPTERS CONFIG_DVB_MAX_ADAPTERS
35#else 35#else
36#warning invalid CONFIG_DVB_MAX_ADAPTERS value 36 #define DVB_MAX_ADAPTERS 8
37#define DVB_MAX_ADAPTERS 8
38#endif 37#endif
39 38
40#define DVB_UNSET (-1) 39#define DVB_UNSET (-1)