[PATCH 2/3] ARM: OMAP AM33xx: hwmod data: resolve sparse warnings
Mugunthan V N
mugunthanvnm at ti.com
Tue Dec 25 23:10:20 EST 2012
On 12/24/2012 6:55 AM, Paul Walmsley wrote:
> Commit 70384a6af0914d5dcec034643941e29d3e3e69f7 ("ARM: OMAP3+:
> hwmod: Add AM33XX HWMOD data for davinci_mdio module") adds two
> new sparse warnings:
>
> arch/arm/mach-omap2/omap_hwmod_33xx_data.c:2518:30: warning: symbol 'am33xx_mdio_addr_space' was not declared. Should it be static?
> arch/arm/mach-omap2/omap_hwmod_33xx_data.c:2526:26: warning: symbol 'am33xx_cpgmac0__mdio' was not declared. Should it be static?
>
> Fix by marking the two new records as static.
>
> Signed-off-by: Paul Walmsley <paul at pwsan.com>
> Cc: Mugunthan V N <mugunthanvnm at ti.com>
> Cc: Vaibhav Hiremath <hvaibhav at ti.com>
> Cc: Peter Korsgaard <jacmet at sunsite.dk>
> Cc: Richard Cochran <richardcochran at gmail.com>
> Cc: David S. Miller <davem at davemloft.net>
>
Looks good to me.
Acked-by : Mugunthan V N <mugunthanvnm at ti.com>
More information about the linux-arm-kernel
mailing list