ARM: imx/pcm038: make regulator platform data static
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 28 Sep 2010 19:39:49 +0000 (21:39 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 1 Oct 2010 07:33:06 +0000 (09:33 +0200)
This fixes the following sparse warning:

arch/arm/mach-imx/pcm970-baseboard.c:203:30: warning: symbol 'pcm970_sja1000_platform_data' was not declared. Should it be static?

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-pcm038.c

index 641f9bb08b267253dc26aa273a4924f024abf8b9..a3d645ff4467d0a2adcb10a376ddc0f02fb24dc9 100644 (file)
@@ -257,7 +257,7 @@ static struct regulator_init_data cam_data = {
        .consumer_supplies = cam_consumers,
 };
 
-struct mc13783_regulator_init_data pcm038_regulators[] = {
+static struct mc13783_regulator_init_data pcm038_regulators[] = {
        {
                .id = MC13783_REGU_VCAM,
                .init_data = &cam_data,