diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-20 01:18:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-04 14:23:04 -0300 |
commit | 61263c751bafaecb3a23a7f9db05db9addc5f0f6 (patch) | |
tree | 70e4245bad99ac9bcb84a19bd9ba5ae8a39390e4 /drivers/media/dvb-frontends/drx39xyj/drx39xxj.h | |
parent | 6c1d56c5cb2271567e60a9a94e4d3591d3043ef2 (diff) | |
download | linux-stable-61263c751bafaecb3a23a7f9db05db9addc5f0f6.tar.gz linux-stable-61263c751bafaecb3a23a7f9db05db9addc5f0f6.tar.bz2 linux-stable-61263c751bafaecb3a23a7f9db05db9addc5f0f6.zip |
[media] drx-j: get rid of most of the typedefs
There are lots of typedefs there. Let's get rid of them.
Most of the work here is due to this small script:
if [ "$3" == "" ]; then
echo "usage: $0 type DRXName drx_name"
fi
t=$1; f=$2; g=$3
for i in *.[ch]; do
sed s,"p${f}_t","$t $g *",g <$i >a && mv a $i && \
sed s,"${f}_t","$t $g",g <$i >a && mv a $i
done
Just kept there the function typedefs, as those are still useful.
Yet, all those tuner_ops can likely be just removed on a latter
cleanup patch.
Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj/drx39xxj.h')
-rw-r--r-- | drivers/media/dvb-frontends/drx39xyj/drx39xxj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h index 467b390372d8..1f0b30bbd0c3 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h +++ b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h @@ -29,7 +29,7 @@ struct drx39xxj_state { struct i2c_adapter *i2c; DRXDemodInstance_t *demod; - DRXStandard_t current_standard; + enum drx_standard current_standard; struct dvb_frontend frontend; int powered_up:1; unsigned int i2c_gate_open:1; |