linux/drivers/staging/media
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
..
as102 [media] Don't test for ops->info.type inside drivers 2012-01-04 23:10:19 -02:00
cxd2099
dt3155v4l
easycap [media] easycap: fix warnings: variable set but not used 2011-11-24 19:18:19 -02:00
go7007 [media] go7007: Fix 2250 urb type 2011-11-24 21:09:25 -02:00
lirc [media] staging/media: lirc_imon: add a __user annotation 2011-11-26 08:48:03 -02:00
solo6x10 Merge tag 'v3.2-rc2' into staging/for_v3.3 2011-11-23 19:42:09 -02:00
Kconfig
Makefile