All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: S3C64XX: Fix section mismatch from cpufreq init
@ 2011-03-10 14:58 ` Mark Brown
  0 siblings, 0 replies; 16+ messages in thread
From: Mark Brown @ 2011-03-10 14:58 UTC (permalink / raw)
  To: Ben Dooks, Kukjin Kim
  Cc: linux-arm-kernel, linux-samsung-soc, patches, Mark Brown

The cpufreq init function is referenced from the driver structure and
we don't appear to have annotations which allow us to mark that it'll
never be called after system init, causing the linker consistency
infrastructure to complain. Just remove the __init annotation to avoid
noise from the build.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 arch/arm/mach-s3c64xx/cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/cpufreq.c b/arch/arm/mach-s3c64xx/cpufreq.c
index 74c0e83..4375b97 100644
--- a/arch/arm/mach-s3c64xx/cpufreq.c
+++ b/arch/arm/mach-s3c64xx/cpufreq.c
@@ -181,7 +181,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
 }
 #endif
 
-static int __init s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
+static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
 {
 	int ret;
 	struct cpufreq_frequency_table *freq;
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-03-16 10:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 14:58 [PATCH] ARM: S3C64XX: Fix section mismatch from cpufreq init Mark Brown
2011-03-10 14:58 ` Mark Brown
2011-03-11  7:51 ` Kukjin Kim
2011-03-11  7:51   ` Kukjin Kim
2011-03-15 12:04 ` Kukjin Kim
2011-03-15 12:04   ` Kukjin Kim
2011-03-15 12:05   ` Mark Brown
2011-03-15 12:05     ` Mark Brown
2011-03-16  8:38 ` Uwe Kleine-König
2011-03-16  8:38   ` Uwe Kleine-König
2011-03-16  9:49   ` Mark Brown
2011-03-16  9:49     ` Mark Brown
2011-03-16 10:13     ` Uwe Kleine-König
2011-03-16 10:13       ` Uwe Kleine-König
2011-03-16 10:53       ` Mark Brown
2011-03-16 10:53         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.