提交 ff38c216 编写于 作者: M Mauro Carvalho Chehab

[media] drxk_hard: fix a few warnings

drivers/media/dvb-frontends/drxk_hard.c:68:6: warning: no previous prototype for 'IsA1WithPatchCode' [-Wmissing-prototypes]
drivers/media/dvb-frontends/drxk_hard.c:73:6: warning: no previous prototype for 'IsA1WithRomCode' [-Wmissing-prototypes]
drivers/media/dvb-frontends/drxk_hard.c:192:12: warning: no previous prototype for 'Frac28a' [-Wmissing-prototypes]
drivers/media/dvb-frontends/drxk_hard.c:590:5: warning: no previous prototype for 'PowerUpDevice' [-Wmissing-prototypes]
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 8418366d
...@@ -65,12 +65,12 @@ static bool IsQAM(struct drxk_state *state) ...@@ -65,12 +65,12 @@ static bool IsQAM(struct drxk_state *state)
state->m_OperationMode == OM_QAM_ITU_C; state->m_OperationMode == OM_QAM_ITU_C;
} }
bool IsA1WithPatchCode(struct drxk_state *state) static bool IsA1WithPatchCode(struct drxk_state *state)
{ {
return state->m_DRXK_A1_PATCH_CODE; return state->m_DRXK_A1_PATCH_CODE;
} }
bool IsA1WithRomCode(struct drxk_state *state) static bool IsA1WithRomCode(struct drxk_state *state)
{ {
return state->m_DRXK_A1_ROM_CODE; return state->m_DRXK_A1_ROM_CODE;
} }
...@@ -189,7 +189,7 @@ static inline u32 MulDiv32(u32 a, u32 b, u32 c) ...@@ -189,7 +189,7 @@ static inline u32 MulDiv32(u32 a, u32 b, u32 c)
return (u32) tmp64; return (u32) tmp64;
} }
inline u32 Frac28a(u32 a, u32 c) static inline u32 Frac28a(u32 a, u32 c)
{ {
int i = 0; int i = 0;
u32 Q1 = 0; u32 Q1 = 0;
...@@ -587,7 +587,7 @@ static int write_block(struct drxk_state *state, u32 Address, ...@@ -587,7 +587,7 @@ static int write_block(struct drxk_state *state, u32 Address,
#define DRXK_MAX_RETRIES_POWERUP 20 #define DRXK_MAX_RETRIES_POWERUP 20
#endif #endif
int PowerUpDevice(struct drxk_state *state) static int PowerUpDevice(struct drxk_state *state)
{ {
int status; int status;
u8 data = 0; u8 data = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册