V4L/DVB (13038): dvbdev: Remove an anoying/uneeded warning
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 12:45:22 +0000 (09:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 23 Sep 2009 00:54:00 +0000 (21:54 -0300)
commitd4c02ef91b74fc6584196cdeab3eb12daac6e380
treee15b5ef1174aae80f06767d2909c9a948a5add46
parent18039ae9de672f46a1a4fa404f8e6ae009bed734
V4L/DVB (13038): dvbdev: Remove an anoying/uneeded warning

As pointed by Marcin Slusarz <marcin.slusarz@gmail.com>, the warns happens
because CONFIG_DVB_MAX_ADAPTERS depends on CONFIG_DVB_CORE, and there are
valid configs where DVB_CORE is not selected.

This causes such warnings, for every V4L and common drivers that may or
may not be compiled with DVB support:

drivers/media/dvb/dvb-core/dvbdev.h:36:2: warning: #warning invalid CONFIG_DVB_MAX_ADAPTERS value

We can safely remove the warning.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvbdev.h