diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 10:27:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 15:57:44 -0400 |
commit | babb618db811a20ed81fd866fd5648949896df42 (patch) | |
tree | cb40f9d8463a0d4e43363cfe57c1c2a0ef160132 /drivers/media/dvb-frontends | |
parent | 8c8ca1c7ca837e20a265fef97272f61064a9b1d5 (diff) |
[media] tda10071: get rid of warning: no previous prototype
drivers/media/dvb-frontends/tda10071.c:119:5: warning: no previous prototype for 'tda10071_rd_reg_mask' [-Wmissing-prototypes]
drivers/media/dvb-frontends/tda10071.c:99:5: warning: no previous prototype for 'tda10071_wr_reg_mask' [-Wmissing-prototypes]
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/tda10071.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index a83bf6802345..16a4bc54dbe7 100644 --- a/drivers/media/dvb-frontends/tda10071.c +++ b/drivers/media/dvb-frontends/tda10071.c | |||
@@ -96,7 +96,8 @@ static int tda10071_rd_reg(struct tda10071_priv *priv, u8 reg, u8 *val) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | /* write single register with mask */ | 98 | /* write single register with mask */ |
99 | int tda10071_wr_reg_mask(struct tda10071_priv *priv, u8 reg, u8 val, u8 mask) | 99 | static int tda10071_wr_reg_mask(struct tda10071_priv *priv, |
100 | u8 reg, u8 val, u8 mask) | ||
100 | { | 101 | { |
101 | int ret; | 102 | int ret; |
102 | u8 tmp; | 103 | u8 tmp; |
@@ -116,7 +117,8 @@ int tda10071_wr_reg_mask(struct tda10071_priv *priv, u8 reg, u8 val, u8 mask) | |||
116 | } | 117 | } |
117 | 118 | ||
118 | /* read single register with mask */ | 119 | /* read single register with mask */ |
119 | int tda10071_rd_reg_mask(struct tda10071_priv *priv, u8 reg, u8 *val, u8 mask) | 120 | static int tda10071_rd_reg_mask(struct tda10071_priv *priv, |
121 | u8 reg, u8 *val, u8 mask) | ||
120 | { | 122 | { |
121 | int ret, i; | 123 | int ret, i; |
122 | u8 tmp; | 124 | u8 tmp; |