media: mmp-driver: make two functions static
Those functions are used only internally: CC drivers/media/platform/marvell-ccic/mmp-driver.o drivers/media/platform/marvell-ccic/mmp-driver.c:186:6: warning: no previous prototype for ‘mcam_ctlr_reset’ [-Wmissing-prototypes] void mcam_ctlr_reset(struct mcam_camera *mcam) ^~~~~~~~~~~~~~~ drivers/media/platform/marvell-ccic/mmp-driver.c:217:6: warning: no previous prototype for ‘mmpcam_calc_dphy’ [-Wmissing-prototypes] void mmpcam_calc_dphy(struct mcam_camera *mcam) ^~~~~~~~~~~~~~~~ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
0a9c643c8f
commit
e81afa6f28
|
@ -183,7 +183,7 @@ static void mmpcam_power_down(struct mcam_camera *mcam)
|
|||
mcam_clk_disable(mcam);
|
||||
}
|
||||
|
||||
void mcam_ctlr_reset(struct mcam_camera *mcam)
|
||||
static void mcam_ctlr_reset(struct mcam_camera *mcam)
|
||||
{
|
||||
unsigned long val;
|
||||
struct mmp_camera *cam = mcam_to_cam(mcam);
|
||||
|
@ -214,7 +214,7 @@ void mcam_ctlr_reset(struct mcam_camera *mcam)
|
|||
* CSI2_DPHY3 and CSI2_DPHY6 can be set with a default value
|
||||
* or be calculated dynamically
|
||||
*/
|
||||
void mmpcam_calc_dphy(struct mcam_camera *mcam)
|
||||
static void mmpcam_calc_dphy(struct mcam_camera *mcam)
|
||||
{
|
||||
struct mmp_camera *cam = mcam_to_cam(mcam);
|
||||
struct mmp_camera_platform_data *pdata = cam->pdev->dev.platform_data;
|
||||
|
|
Loading…
Reference in a new issue