diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/dib9000.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib9000.c b/drivers/media/dvb/frontends/dib9000.c index 43fb6e45424a..91518761a2da 100644 --- a/drivers/media/dvb/frontends/dib9000.c +++ b/drivers/media/dvb/frontends/dib9000.c | |||
@@ -486,10 +486,11 @@ static int dib9000_mbx_host_init(struct dib9000_state *state, u8 risc_id) | |||
486 | #define MAX_MAILBOX_TRY 100 | 486 | #define MAX_MAILBOX_TRY 100 |
487 | static int dib9000_mbx_send_attr(struct dib9000_state *state, u8 id, u16 * data, u8 len, u16 attr) | 487 | static int dib9000_mbx_send_attr(struct dib9000_state *state, u8 id, u16 * data, u8 len, u16 attr) |
488 | { | 488 | { |
489 | u8 ret = 0, *d, b[2]; | 489 | u8 *d, b[2]; |
490 | u16 tmp; | 490 | u16 tmp; |
491 | u16 size; | 491 | u16 size; |
492 | u32 i; | 492 | u32 i; |
493 | int ret = 0; | ||
493 | 494 | ||
494 | if (!state->platform.risc.fw_is_running) | 495 | if (!state->platform.risc.fw_is_running) |
495 | return -EINVAL; | 496 | return -EINVAL; |