Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fe10ab1 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[ARM] 2928/1: S3C2410 - make machine init code static



Patch from Ben Dooks

This code is not being exported, declare it static

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9d0fd1eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
 *
 * Modifications:
 *	02-May-2005 BJD  Copied from mach-bast.c
 *	20-Sep-2005 BJD  Added static to non-exported items
*/

#include <linux/kernel.h>
@@ -232,7 +233,7 @@ static struct s3c24xx_board anubis_board __initdata = {
	.clocks_count  = ARRAY_SIZE(anubis_clocks)
};

void __init anubis_map_io(void)
static void __init anubis_map_io(void)
{
	/* initialise the clocks */

+2 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
 *     17-Jul-2005 BJD  Changed to platform device for SuperIO 16550s
 *     25-Jul-2005 BJD  Removed ASIX static mappings
 *     27-Jul-2005 BJD  Ensure maximum frequency of i2c bus
 *     20-Sep-2005 BJD  Added static to non-exported items
*/

#include <linux/kernel.h>
@@ -428,7 +429,7 @@ static struct s3c24xx_board bast_board __initdata = {
	.clocks_count  = ARRAY_SIZE(bast_clocks)
};

void __init bast_map_io(void)
static void __init bast_map_io(void)
{
	/* initialise the clocks */

+4 −3
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
 *     10-Jan-2005 BJD  Removed include of s3c2410.h
 *     14-Jan-2005 BJD  Added clock init
 *     10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA
 *     20-Sep-2005 BJD  Added static to non-exported items
*/

#include <linux/kernel.h>
@@ -147,7 +148,7 @@ static struct s3c24xx_board h1940_board __initdata = {
	.devices_count = ARRAY_SIZE(h1940_devices)
};

void __init h1940_map_io(void)
static void __init h1940_map_io(void)
{
	s3c24xx_init_io(h1940_iodesc, ARRAY_SIZE(h1940_iodesc));
	s3c24xx_init_clocks(0);
@@ -155,13 +156,13 @@ void __init h1940_map_io(void)
	s3c24xx_set_board(&h1940_board);
}

void __init h1940_init_irq(void)
static void __init h1940_init_irq(void)
{
	s3c24xx_init_irq();

}

void __init h1940_init(void)
static void __init h1940_init(void)
{
	set_s3c2410fb_info(&h1940_lcdcfg);
}
+3 −3
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static struct s3c24xx_board n30_board __initdata = {
	.devices_count = ARRAY_SIZE(n30_devices)
};

void __init n30_map_io(void)
static void __init n30_map_io(void)
{
	s3c24xx_init_io(n30_iodesc, ARRAY_SIZE(n30_iodesc));
	s3c24xx_init_clocks(0);
@@ -105,14 +105,14 @@ void __init n30_map_io(void)
	s3c24xx_set_board(&n30_board);
}

void __init n30_init_irq(void)
static void __init n30_init_irq(void)
{
	s3c24xx_init_irq();
}

/* GPB3 is the line that controls the pull-up for the USB D+ line */

void __init n30_init(void)
static void __init n30_init(void)
{
	s3c_device_i2c.dev.platform_data = &n30_i2ccfg;

+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ static void __init nexcoder_sensorboard_init(void)
	s3c2410_gpio_cfgpin(S3C2410_GPF2, S3C2410_GPF2_OUTP); // CAM_GPIO6 => CAM_PWRDN
}

void __init nexcoder_map_io(void)
static void __init nexcoder_map_io(void)
{
	s3c24xx_init_io(nexcoder_iodesc, ARRAY_SIZE(nexcoder_iodesc));
	s3c24xx_init_clocks(0);
Loading