Commit 4518c3fe authored by Juan Antonio Pedreira Martos's avatar Juan Antonio Pedreira Martos Committed by Mauro Carvalho Chehab

[media] staging: media: atomisp: fix non static symbol warnings

Fix a couple of sparse warnings:
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c:59:14: warning: symbol 'repool_pgnr' was not declared. Should it be static?
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c:387:6: warning: symbol 'punit_ddr_dvfs_enable' was not declared. Should it be static?

Mark these symbols as static, so they are no longer incorrectly exported.
Signed-off-by: default avatarJuan Antonio Pedreira Martos <juanpm1@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e1b28f13
...@@ -56,7 +56,7 @@ module_param(skip_fwload, uint, 0644); ...@@ -56,7 +56,7 @@ module_param(skip_fwload, uint, 0644);
MODULE_PARM_DESC(skip_fwload, "Skip atomisp firmware load"); MODULE_PARM_DESC(skip_fwload, "Skip atomisp firmware load");
/* set reserved memory pool size in page */ /* set reserved memory pool size in page */
unsigned int repool_pgnr; static unsigned int repool_pgnr;
module_param(repool_pgnr, uint, 0644); module_param(repool_pgnr, uint, 0644);
MODULE_PARM_DESC(repool_pgnr, MODULE_PARM_DESC(repool_pgnr,
"Set the reserved memory pool size in page (default:0)"); "Set the reserved memory pool size in page (default:0)");
...@@ -384,7 +384,7 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp) ...@@ -384,7 +384,7 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp)
* WA for DDR DVFS enable/disable * WA for DDR DVFS enable/disable
* By default, ISP will force DDR DVFS 1600MHz before disable DVFS * By default, ISP will force DDR DVFS 1600MHz before disable DVFS
*/ */
void punit_ddr_dvfs_enable(bool enable) static void punit_ddr_dvfs_enable(bool enable)
{ {
int reg = intel_mid_msgbus_read32(PUNIT_PORT, MRFLD_ISPSSDVFS); int reg = intel_mid_msgbus_read32(PUNIT_PORT, MRFLD_ISPSSDVFS);
int door_bell = 1 << 8; int door_bell = 1 << 8;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment