Commit 29ab3c77 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Tony Lindgren

ARM: omap1/nokia770: mark some functions __init

These are only called from omap_nokia770_init which is in .init.text, too.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 232bc651
...@@ -115,7 +115,7 @@ static struct mipid_platform_data nokia770_mipid_platform_data = { ...@@ -115,7 +115,7 @@ static struct mipid_platform_data nokia770_mipid_platform_data = {
.shutdown = mipid_shutdown, .shutdown = mipid_shutdown,
}; };
static void mipid_dev_init(void) static void __init mipid_dev_init(void)
{ {
const struct omap_lcd_config *conf; const struct omap_lcd_config *conf;
...@@ -126,7 +126,7 @@ static void mipid_dev_init(void) ...@@ -126,7 +126,7 @@ static void mipid_dev_init(void)
} }
} }
static void ads7846_dev_init(void) static void __init ads7846_dev_init(void)
{ {
if (gpio_request(ADS7846_PENDOWN_GPIO, "ADS7846 pendown") < 0) if (gpio_request(ADS7846_PENDOWN_GPIO, "ADS7846 pendown") < 0)
printk(KERN_ERR "can't get ads7846 pen down GPIO\n"); printk(KERN_ERR "can't get ads7846 pen down GPIO\n");
...@@ -170,7 +170,7 @@ static struct hwa742_platform_data nokia770_hwa742_platform_data = { ...@@ -170,7 +170,7 @@ static struct hwa742_platform_data nokia770_hwa742_platform_data = {
.te_connected = 1, .te_connected = 1,
}; };
static void hwa742_dev_init(void) static void __init hwa742_dev_init(void)
{ {
clk_add_alias("hwa_sys_ck", NULL, "bclk", NULL); clk_add_alias("hwa_sys_ck", NULL, "bclk", NULL);
omapfb_set_ctrl_platform_data(&nokia770_hwa742_platform_data); omapfb_set_ctrl_platform_data(&nokia770_hwa742_platform_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment