aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drxk_hard.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-25 11:40:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-25 11:40:04 -0400
commitff38c21663c5f9b8d33cf2979e07e811f2560161 (patch)
tree6d9fb448fa97827e1dc0875778534611901fcc47 /drivers/media/dvb-frontends/drxk_hard.c
parent8418366d11195e6f12d3a1767dbb2f0191ca8989 (diff)
[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: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drxk_hard.c')
-rw-r--r--drivers/media/dvb-frontends/drxk_hard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index 894b6eca5b26..fb23496cd65d 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -65,12 +65,12 @@ static bool IsQAM(struct drxk_state *state)
65 state->m_OperationMode == OM_QAM_ITU_C; 65 state->m_OperationMode == OM_QAM_ITU_C;
66} 66}
67 67
68bool IsA1WithPatchCode(struct drxk_state *state) 68static bool IsA1WithPatchCode(struct drxk_state *state)
69{ 69{
70 return state->m_DRXK_A1_PATCH_CODE; 70 return state->m_DRXK_A1_PATCH_CODE;
71} 71}
72 72
73bool IsA1WithRomCode(struct drxk_state *state) 73static bool IsA1WithRomCode(struct drxk_state *state)
74{ 74{
75 return state->m_DRXK_A1_ROM_CODE; 75 return state->m_DRXK_A1_ROM_CODE;
76} 76}
@@ -189,7 +189,7 @@ static inline u32 MulDiv32(u32 a, u32 b, u32 c)
189 return (u32) tmp64; 189 return (u32) tmp64;
190} 190}
191 191
192inline u32 Frac28a(u32 a, u32 c) 192static inline u32 Frac28a(u32 a, u32 c)
193{ 193{
194 int i = 0; 194 int i = 0;
195 u32 Q1 = 0; 195 u32 Q1 = 0;
@@ -587,7 +587,7 @@ static int write_block(struct drxk_state *state, u32 Address,
587#define DRXK_MAX_RETRIES_POWERUP 20 587#define DRXK_MAX_RETRIES_POWERUP 20
588#endif 588#endif
589 589
590int PowerUpDevice(struct drxk_state *state) 590static int PowerUpDevice(struct drxk_state *state)
591{ 591{
592 int status; 592 int status;
593 u8 data = 0; 593 u8 data = 0;