diff options
author | Dmitry Artamonow <mad_soft@inbox.ru> | 2009-11-27 05:06:46 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 11:52:25 -0500 |
commit | e55b20e81d5c40bd04f1747450ca622b105c97a3 (patch) | |
tree | ff47da03cc7c56892117a1f9b812995781a181c4 /arch/arm/mach-sa1100 | |
parent | 0fb85a5aa0958b2118eab8e035731051b05775bb (diff) |
ARM: 5795/1: SA1100: h3100/h3600: mark *_mach_init functions as __init
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r-- | arch/arm/mach-sa1100/h3600.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index 2f6ea1776285..ebb3b8dcee56 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c | |||
@@ -188,7 +188,7 @@ static struct sa1100_port_fns h3xxx_port_fns __initdata = { | |||
188 | }; | 188 | }; |
189 | 189 | ||
190 | 190 | ||
191 | static void h3xxx_mach_init(void) | 191 | static void __init h3xxx_mach_init(void) |
192 | { | 192 | { |
193 | sa1100_register_uart_fns(&h3xxx_port_fns); | 193 | sa1100_register_uart_fns(&h3xxx_port_fns); |
194 | sa11x0_register_mtd(&h3xxx_flash_data, &h3xxx_flash_resource, 1); | 194 | sa11x0_register_mtd(&h3xxx_flash_data, &h3xxx_flash_resource, 1); |
@@ -371,7 +371,7 @@ static struct gpio_default_state h3100_default_gpio[] = { | |||
371 | { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" }, | 371 | { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" }, |
372 | }; | 372 | }; |
373 | 373 | ||
374 | static void h3100_mach_init(void) | 374 | static void __init h3100_mach_init(void) |
375 | { | 375 | { |
376 | h3xxx_init_gpio(h3100_default_gpio, ARRAY_SIZE(h3100_default_gpio)); | 376 | h3xxx_init_gpio(h3100_default_gpio, ARRAY_SIZE(h3100_default_gpio)); |
377 | h3xxx_mach_init(); | 377 | h3xxx_mach_init(); |
@@ -500,7 +500,7 @@ static struct gpio_default_state h3600_default_gpio[] = { | |||
500 | { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" }, | 500 | { H3XXX_GPIO_COM_RTS, GPIO_MODE_OUT0, "COM RTS" }, |
501 | }; | 501 | }; |
502 | 502 | ||
503 | static void h3600_mach_init(void) | 503 | static void __init h3600_mach_init(void) |
504 | { | 504 | { |
505 | h3xxx_init_gpio(h3600_default_gpio, ARRAY_SIZE(h3600_default_gpio)); | 505 | h3xxx_init_gpio(h3600_default_gpio, ARRAY_SIZE(h3600_default_gpio)); |
506 | h3xxx_mach_init(); | 506 | h3xxx_mach_init(); |