Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (7104): stk-sensor.c: make 2 functions static

This patch makes the following needlessly global functions static:
- stk_sensor_outb()
- stk_sensor_inb()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Adrian Bunk and committed by
Mauro Carvalho Chehab
fe2b8f50 beb9e780

+2 -4
+2 -2
drivers/media/video/stk-sensor.c
··· 225 225 226 226 227 227 /* Returns 0 if OK */ 228 - int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) 228 + static int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) 229 229 { 230 230 int i = 0; 231 231 int tmpval = 0; ··· 250 250 return 0; 251 251 } 252 252 253 - int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val) 253 + static int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val) 254 254 { 255 255 int i = 0; 256 256 int tmpval = 0;
-2
drivers/media/video/stk-webcam.h
··· 128 128 int stk_camera_write_reg(struct stk_camera *, u16, u8); 129 129 int stk_camera_read_reg(struct stk_camera *, u16, int *); 130 130 131 - int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val); 132 - int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val); 133 131 int stk_sensor_init(struct stk_camera *); 134 132 int stk_sensor_configure(struct stk_camera *); 135 133 int stk_sensor_sleep(struct stk_camera *dev);