linux/drivers/media/dvb
Mauro Carvalho Chehab 6225f18b88 [media] Don't test for ops->info.type inside drivers
Now, ops->info.type is handled inside the dvb_frontend
core, only for DVBv3 calls, and according with the
delivery system. So, drivers should not care or use it,
otherwise, it may have issues with DVBv5 calls.

The drivers that were still using it were detected via
this small temporary hack:

--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -29,13 +29,16 @@
 #include <linux/types.h>

 typedef enum fe_type {
+#if defined(__DVB_CORE__) || !defined (__KERNEL__)
        FE_QPSK,
        FE_QAM,
        FE_OFDM,
        FE_ATSC
+#else
+FE_FOOO
+#endif
 } fe_type_t;

-
 typedef enum fe_caps {
        FE_IS_STUPID                    = 0,
        FE_CAN_INVERSION_AUTO           = 0x1,

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-04 23:10:19 -02:00
..
b2c2 [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
bt8xx [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
ddbridge staging: Move media drivers to staging/media 2011-11-03 07:59:03 -02:00
dm1105 [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
dvb-core [media] dvb: get rid of fepriv->parameters_in 2012-01-04 17:30:02 -02:00
dvb-usb [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
firewire [media] Don't test for ops->info.type inside drivers 2012-01-04 23:10:19 -02:00
frontends [media] drxk: Add support for parallel mode and prints mpeg mode 2012-01-04 22:49:10 -02:00
mantis [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
ngene staging: Move media drivers to staging/media 2011-11-03 07:59:03 -02:00
pluto2 [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
pt1 [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
siano [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
ttpci [media] av7110: convert set_fontend to use DVBv5 parameters 2011-12-31 09:15:04 -02:00
ttusb-budget [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
ttusb-dec [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00