[media] dvb-core: don't use fe_bandwidth_t on driver
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 26 Dec 2011 23:01:24 +0000 (20:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 12:22:41 +0000 (10:22 -0200)
Now that everybody is talking DVBv5 API dialect, using this
DVBv3 macro internally is not ok.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/bt8xx/dst_common.h
drivers/media/dvb/frontends/dib3000mc.c
drivers/media/dvb/frontends/dib7000m.c
drivers/media/dvb/frontends/tda10048.c

index d88cf2add82b6b20010b6b1c92c7f8d6d139b784..d70d98f1a5716775c2b9163a80fccfb56051ef6c 100644 (file)
@@ -124,7 +124,7 @@ struct dst_state {
        u16 decode_snr;
        unsigned long cur_jiff;
        u8 k22;
-       fe_bandwidth_t bandwidth;
+       u32 bandwidth;
        u32 dst_hw_cap;
        u8 dst_fw_version;
        fe_sec_mini_cmd_t minicmd;
index 7472429e47ae4f7e50d3bac2c40f5bbdf3b4d762..d9ea21001f773a05d82f7d95694c46e34a7fd8ce 100644 (file)
@@ -40,7 +40,7 @@ struct dib3000mc_state {
 
        u32 timf;
 
-       fe_bandwidth_t current_bandwidth;
+       u32 current_bandwidth;
 
        u16 dev_id;
 
index 29123aebf870b881f5fbab33a9a3762568ed82a0..9f2330d832cf85a22c1347c51ffd39a4e88c4c3e 100644 (file)
@@ -38,7 +38,7 @@ struct dib7000m_state {
        u16 wbd_ref;
 
        u8 current_band;
-       fe_bandwidth_t current_bandwidth;
+       u32 current_bandwidth;
        struct dibx000_agc_config *current_agc;
        u32 timf;
        u32 timf_default;
index 80de9f602d371668a0443813d47739182504e813..dfd1d5ac18253fe76239ca929474efc4af60716d 100644 (file)
@@ -153,7 +153,7 @@ struct tda10048_state {
        u32 pll_pfactor;
        u32 sample_freq;
 
-       enum fe_bandwidth bandwidth;
+       u32 bandwidth;
 };
 
 static struct init_tab {