Skip to content

Commit aa4e133

Browse files
Wei Yongjuntmlind
authored andcommitted
ARM: OMAP2+: Make symbol 'pdata_quirks_init_clocks' static
The sparse tool complains as follows: arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: symbol 'pdata_quirks_init_clocks' was not declared. Should it be static? This symbol is not used outside of pdata-quirks.c, so this commit marks it static. Fixes: a15de03 ("ARM: OMAP2+: Init both prm and prcm nodes early for clocks") Reported-by: Hulk Robot <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent e259c29 commit aa4e133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/pdata-quirks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static const char * const pdata_quirks_init_nodes[] = {
574574
"prm",
575575
};
576576

577-
void __init
577+
static void __init
578578
pdata_quirks_init_clocks(const struct of_device_id *omap_dt_match_table)
579579
{
580580
struct device_node *np;

0 commit comments

Comments
 (0)