diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 16:35:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 05:39:06 -0400 |
commit | 0dec86886c4836081a3327bd735cfa4745c1e048 (patch) | |
tree | c230dd99795488be52a8b0982fc22ad6e53a4ee5 /drivers | |
parent | a3faff2b39ca67684fb294a84d3e2d1ad2f4dfa2 (diff) |
radio tea5764, si4713: get rid of warning: no previous prototype
drivers/media/radio/radio-tea5764.c:148:5: warning: no previous prototype for 'tea5764_i2c_read' [-Wmissing-prototypes]
drivers/media/radio/radio-tea5764.c:168:5: warning: no previous prototype for 'tea5764_i2c_write' [-Wmissing-prototypes]
drivers/media/radio/si4713-i2c.c:1772:6: warning: no previous prototype for 'si4713_ioctl' [-Wmissing-prototypes]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 4 | ||||
-rw-r--r-- | drivers/media/radio/si4713-i2c.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index d0c905310071..36aec575e0ec 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -145,7 +145,7 @@ struct tea5764_device { | |||
145 | }; | 145 | }; |
146 | 146 | ||
147 | /* I2C code related */ | 147 | /* I2C code related */ |
148 | int tea5764_i2c_read(struct tea5764_device *radio) | 148 | static int tea5764_i2c_read(struct tea5764_device *radio) |
149 | { | 149 | { |
150 | int i; | 150 | int i; |
151 | u16 *p = (u16 *) &radio->regs; | 151 | u16 *p = (u16 *) &radio->regs; |
@@ -165,7 +165,7 @@ int tea5764_i2c_read(struct tea5764_device *radio) | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | int tea5764_i2c_write(struct tea5764_device *radio) | 168 | static int tea5764_i2c_write(struct tea5764_device *radio) |
169 | { | 169 | { |
170 | struct tea5764_write_regs wr; | 170 | struct tea5764_write_regs wr; |
171 | struct tea5764_regs *r = &radio->regs; | 171 | struct tea5764_regs *r = &radio->regs; |
diff --git a/drivers/media/radio/si4713-i2c.c b/drivers/media/radio/si4713-i2c.c index e3079c142c5f..bd61b3bd0ca3 100644 --- a/drivers/media/radio/si4713-i2c.c +++ b/drivers/media/radio/si4713-i2c.c | |||
@@ -1769,7 +1769,7 @@ exit: | |||
1769 | } | 1769 | } |
1770 | 1770 | ||
1771 | /* si4713_ioctl - deal with private ioctls (only rnl for now) */ | 1771 | /* si4713_ioctl - deal with private ioctls (only rnl for now) */ |
1772 | long si4713_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg) | 1772 | static long si4713_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg) |
1773 | { | 1773 | { |
1774 | struct si4713_device *sdev = to_si4713_device(sd); | 1774 | struct si4713_device *sdev = to_si4713_device(sd); |
1775 | struct si4713_rnl *rnl = arg; | 1775 | struct si4713_rnl *rnl = arg; |