From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: Ben Dooks <ben-linux@fluff.org>
Cc: linux-samsung-soc@vger.kernel.org
Subject: [PATCH] mach-s3c2410/cpu-freq.c: fix build
Date: Tue, 09 Mar 2010 00:23:27 +0100 [thread overview]
Message-ID: <87aauio0sw.fsf@lechat.rtp-net.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
When CPU_FREQ_S3C24XX_DEBUGFS is set and S3C2410_IOTIMING, I'm getting :
arch/arm/mach-s3c2410/built-in.o:(.data+0x218): undefined reference to `s3c2410_iotiming_debugfs'
This patch add missing #ifdef
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: s3c2410_iotiming_debugfs_buildfix.patch --]
[-- Type: text/x-diff, Size: 696 bytes --]
arch/arm/mach-s3c2410/cpu-freq.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)
Index: linux-2.6/arch/arm/mach-s3c2410/cpu-freq.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-s3c2410/cpu-freq.c 2010-03-09 00:11:48.409640117 +0100
+++ linux-2.6/arch/arm/mach-s3c2410/cpu-freq.c 2010-03-09 00:15:06.641680942 +0100
@@ -112,7 +112,9 @@ static struct s3c_cpufreq_info s3c2410_c
.set_divs = s3c2410_cpufreq_setdivs,
.calc_divs = s3c2410_cpufreq_calcdivs,
+#ifdef CONFIG_S3C2410_IOTIMING
.debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs),
+#endif
};
static int s3c2410_cpufreq_add(struct sys_device *sysdev)
reply other threads:[~2010-03-08 23:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aauio0sw.fsf@lechat.rtp-net.org \
--to=arnaud.patard@rtp-net.org \
--cc=ben-linux@fluff.org \
--cc=linux-samsung-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.