ARM: OMAP AM33xx: hwmod data: resolve sparse warnings
authorPaul Walmsley <paul@pwsan.com>
Fri, 28 Dec 2012 09:09:07 +0000 (02:09 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 1 Jan 2013 22:41:59 +0000 (15:41 -0700)
commit9816aa80b09923ac63e9da274083c0ad55468230
treefbd79ebeae3695de59668560611de99f20bafaef
parent6ccc432f705f1cbf150355b6936b335c87a9accd
ARM: OMAP AM33xx: hwmod data: resolve sparse warnings

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@pwsan.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
arch/arm/mach-omap2/omap_hwmod_33xx_data.c