Skip to content

Commit

Permalink
[media] dib8000: warning fix: declare internal functions as static
Browse files Browse the repository at this point in the history
drivers/media/dvb-frontends/dib8000.c:2412:5: warning: no previous prototype for 'dib8000_wait_lock' [-Wmissing-prototypes]
drivers/media/dvb-frontends/dib8000.c:2688:5: warning: no previous prototype for 'dib8000_get_symbol_duration' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Apr 25, 2013
1 parent 619ab8f commit 6f7ee06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/media/dvb-frontends/dib8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,8 @@ static void dib8000_set_isdbt_common_channel(struct dib8000_state *state, u8 seq
state->isdbt_cfg_loaded = 0;
}

u32 dib8000_wait_lock(struct dib8000_state *state, u32 internal, u32 wait0_ms, u32 wait1_ms, u32 wait2_ms)
static u32 dib8000_wait_lock(struct dib8000_state *state, u32 internal,
u32 wait0_ms, u32 wait1_ms, u32 wait2_ms)
{
u32 value;
u16 reg = 11; /* P_search_end0 start addr */
Expand Down Expand Up @@ -2685,7 +2686,8 @@ static void dib8000_set_frequency_offset(struct dib8000_state *state)
}

static u16 LUT_isdbt_symbol_duration[4] = { 26, 101, 63 };
u32 dib8000_get_symbol_duration(struct dib8000_state *state)

static u32 dib8000_get_symbol_duration(struct dib8000_state *state)
{
u16 i;

Expand Down

0 comments on commit 6f7ee06

Please sign in to comment.