mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
[media] drxd: Fix some CodingStyle issues
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
bccd2d8a39
commit
7fc7356f4e
@ -2782,12 +2782,8 @@ struct dvb_frontend *drxd_attach(const struct drxd_config *config,
|
||||
if (Read16(state, 0, 0, 0) < 0)
|
||||
goto error;
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
|
||||
state->frontend.ops = &state->ops;
|
||||
#else
|
||||
memcpy(&state->frontend.ops, &drxd_ops,
|
||||
sizeof(struct dvb_frontend_ops));
|
||||
#endif
|
||||
state->frontend.demodulator_priv = state;
|
||||
ConfigureMPEGOutput(state, 0);
|
||||
return &state->frontend;
|
||||
|
Loading…
Reference in New Issue
Block a user