Skip to content

Commit

Permalink
ARM: 5795/1: SA1100: h3100/h3600: mark *_mach_init functions as __init
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Dmitry Artamonow authored and Russell King committed Dec 6, 2009
1 parent 0fb85a5 commit e55b20e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-sa1100/h3600.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static struct sa1100_port_fns h3xxx_port_fns __initdata = {
};


static void h3xxx_mach_init(void)
static void __init h3xxx_mach_init(void)
{
sa1100_register_uart_fns(&h3xxx_port_fns);
sa11x0_register_mtd(&h3xxx_flash_data, &h3xxx_flash_resource, 1);
Expand Down Expand Up @@ -371,7 +371,7 @@ static struct gpio_default_state h3100_default_gpio[] = {
{ H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" },
};

static void h3100_mach_init(void)
static void __init h3100_mach_init(void)
{
h3xxx_init_gpio(h3100_default_gpio, ARRAY_SIZE(h3100_default_gpio));
h3xxx_mach_init();
Expand Down Expand Up @@ -500,7 +500,7 @@ static struct gpio_default_state h3600_default_gpio[] = {
{ H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" },
};

static void h3600_mach_init(void)
static void __init h3600_mach_init(void)
{
h3xxx_init_gpio(h3600_default_gpio, ARRAY_SIZE(h3600_default_gpio));
h3xxx_mach_init();
Expand Down

0 comments on commit e55b20e

Please sign in to comment.