diff options
Diffstat (limited to 'drivers/media/video/cpia2')
-rw-r--r-- | drivers/media/video/cpia2/cpia2_core.c | 10 | ||||
-rw-r--r-- | drivers/media/video/cpia2/cpia2_usb.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/cpia2/cpia2_core.c b/drivers/media/video/cpia2/cpia2_core.c index af8b9ec8e358..7e791b6923f9 100644 --- a/drivers/media/video/cpia2/cpia2_core.c +++ b/drivers/media/video/cpia2/cpia2_core.c | |||
@@ -1537,7 +1537,7 @@ static int config_sensor_500(struct camera_data *cam, | |||
1537 | * | 1537 | * |
1538 | * This sets all user changeable properties to the values in cam->params. | 1538 | * This sets all user changeable properties to the values in cam->params. |
1539 | *****************************************************************************/ | 1539 | *****************************************************************************/ |
1540 | int set_all_properties(struct camera_data *cam) | 1540 | static int set_all_properties(struct camera_data *cam) |
1541 | { | 1541 | { |
1542 | /** | 1542 | /** |
1543 | * Don't set target_kb here, it will be set later. | 1543 | * Don't set target_kb here, it will be set later. |
@@ -1588,7 +1588,7 @@ void cpia2_save_camera_state(struct camera_data *cam) | |||
1588 | * get_color_params | 1588 | * get_color_params |
1589 | * | 1589 | * |
1590 | *****************************************************************************/ | 1590 | *****************************************************************************/ |
1591 | void get_color_params(struct camera_data *cam) | 1591 | static void get_color_params(struct camera_data *cam) |
1592 | { | 1592 | { |
1593 | cpia2_do_command(cam, CPIA2_CMD_GET_VP_BRIGHTNESS, TRANSFER_READ, 0); | 1593 | cpia2_do_command(cam, CPIA2_CMD_GET_VP_BRIGHTNESS, TRANSFER_READ, 0); |
1594 | cpia2_do_command(cam, CPIA2_CMD_GET_VP_SATURATION, TRANSFER_READ, 0); | 1594 | cpia2_do_command(cam, CPIA2_CMD_GET_VP_SATURATION, TRANSFER_READ, 0); |
@@ -1881,7 +1881,7 @@ void cpia2_set_saturation(struct camera_data *cam, unsigned char value) | |||
1881 | * wake_system | 1881 | * wake_system |
1882 | * | 1882 | * |
1883 | *****************************************************************************/ | 1883 | *****************************************************************************/ |
1884 | void wake_system(struct camera_data *cam) | 1884 | static void wake_system(struct camera_data *cam) |
1885 | { | 1885 | { |
1886 | cpia2_do_command(cam, CPIA2_CMD_SET_WAKEUP, TRANSFER_WRITE, 0); | 1886 | cpia2_do_command(cam, CPIA2_CMD_SET_WAKEUP, TRANSFER_WRITE, 0); |
1887 | } | 1887 | } |
@@ -1892,7 +1892,7 @@ void wake_system(struct camera_data *cam) | |||
1892 | * | 1892 | * |
1893 | * Valid for STV500 sensor only | 1893 | * Valid for STV500 sensor only |
1894 | *****************************************************************************/ | 1894 | *****************************************************************************/ |
1895 | void set_lowlight_boost(struct camera_data *cam) | 1895 | static void set_lowlight_boost(struct camera_data *cam) |
1896 | { | 1896 | { |
1897 | struct cpia2_command cmd; | 1897 | struct cpia2_command cmd; |
1898 | 1898 | ||
@@ -2169,7 +2169,7 @@ void cpia2_dbg_dump_registers(struct camera_data *cam) | |||
2169 | * | 2169 | * |
2170 | * Sets all values to the defaults | 2170 | * Sets all values to the defaults |
2171 | *****************************************************************************/ | 2171 | *****************************************************************************/ |
2172 | void reset_camera_struct(struct camera_data *cam) | 2172 | static void reset_camera_struct(struct camera_data *cam) |
2173 | { | 2173 | { |
2174 | /*** | 2174 | /*** |
2175 | * The following parameter values are the defaults from the register map. | 2175 | * The following parameter values are the defaults from the register map. |
diff --git a/drivers/media/video/cpia2/cpia2_usb.c b/drivers/media/video/cpia2/cpia2_usb.c index a8a199047cbd..73511a542077 100644 --- a/drivers/media/video/cpia2/cpia2_usb.c +++ b/drivers/media/video/cpia2/cpia2_usb.c | |||
@@ -478,7 +478,7 @@ int cpia2_usb_change_streaming_alternate(struct camera_data *cam, | |||
478 | * set_alternate | 478 | * set_alternate |
479 | * | 479 | * |
480 | *****************************************************************************/ | 480 | *****************************************************************************/ |
481 | int set_alternate(struct camera_data *cam, unsigned int alt) | 481 | static int set_alternate(struct camera_data *cam, unsigned int alt) |
482 | { | 482 | { |
483 | int ret = 0; | 483 | int ret = 0; |
484 | 484 | ||