diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-25 09:54:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 06:26:25 -0400 |
commit | 7fc7356f4eafa953197e1c4e2d236e199a51db28 (patch) | |
tree | dcf4a62daaa0635626d35e8ca96c3416089a6852 /drivers/media/dvb/frontends/drxd_hard.c | |
parent | bccd2d8a39a65b008e5af96404139c2260a42fc7 (diff) |
[media] drxd: Fix some CodingStyle issues
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxd_hard.c')
-rw-r--r-- | drivers/media/dvb/frontends/drxd_hard.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxd_hard.c b/drivers/media/dvb/frontends/drxd_hard.c index ed6c529946dd..e4440af31cd2 100644 --- a/drivers/media/dvb/frontends/drxd_hard.c +++ b/drivers/media/dvb/frontends/drxd_hard.c | |||
@@ -2782,12 +2782,8 @@ struct dvb_frontend *drxd_attach(const struct drxd_config *config, | |||
2782 | if (Read16(state, 0, 0, 0) < 0) | 2782 | if (Read16(state, 0, 0, 0) < 0) |
2783 | goto error; | 2783 | goto error; |
2784 | 2784 | ||
2785 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) | ||
2786 | state->frontend.ops = &state->ops; | ||
2787 | #else | ||
2788 | memcpy(&state->frontend.ops, &drxd_ops, | 2785 | memcpy(&state->frontend.ops, &drxd_ops, |
2789 | sizeof(struct dvb_frontend_ops)); | 2786 | sizeof(struct dvb_frontend_ops)); |
2790 | #endif | ||
2791 | state->frontend.demodulator_priv = state; | 2787 | state->frontend.demodulator_priv = state; |
2792 | ConfigureMPEGOutput(state, 0); | 2788 | ConfigureMPEGOutput(state, 0); |
2793 | return &state->frontend; | 2789 | return &state->frontend; |