From: Oleksij Rempel <linux@rempel-privat.de>
To: daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org,
tglx@linutronix.de
Cc: Oleksij Rempel <linux@rempel-privat.de>
Subject: [PATCH] ARM: clocksource: fix compile of asm9260_timer driver on ARCH=parisc
Date: Tue, 27 Jan 2015 08:27:04 +0100 [thread overview]
Message-ID: <1422343624-9764-1-git-send-email-linux@rempel-privat.de> (raw)
In-Reply-To: <54BE5E9A.8070502@linaro.org>
make sure this driver depends on GENERIC_CLOCKEVENTS
compiler error was found by kbuild test robot:
>> drivers/clocksource/asm9260_timer.c:114:14: warning: its scope is only this definition or declaration, which is probably not what you want
>> drivers/clocksource/asm9260_timer.c:124:16: warning: 'struct clock_event_device' declared inside parameter list
struct clock_event_device *evt)
>> drivers/clocksource/asm9260_timer.c:124:16: warning: 'enum clock_event_mode' declared inside parameter list
>> drivers/clocksource/asm9260_timer.c:123:58: error: parameter 1 ('mode') has incomplete type
static void asm9260_timer_set_mode(enum clock_event_mode mode,
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
---
drivers/clocksource/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 13b8152..bfaaae4 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -231,6 +231,7 @@ config CLKSRC_MIPS_GIC
config ASM9260_TIMER
bool "Alphascale ASM9260 timer driver"
+ depends on GENERIC_CLOCKEVENTS
select CLKSRC_MMIO
select CLKSRC_OF
default y if MACH_ASM9260
--
1.9.1
next prev parent reply other threads:[~2015-01-27 7:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1417193657-31602-2-git-send-email-linux@rempel-privat.de>
2015-01-08 9:07 ` [PATCH] clocksource driver for Alphascale asm9260 Oleksij Rempel
2015-01-08 9:07 ` [PATCH] ARM: clocksource: add asm9260_timer driver Oleksij Rempel
2015-01-20 13:56 ` Daniel Lezcano
2015-01-27 7:27 ` Oleksij Rempel [this message]
2015-01-27 8:49 ` [PATCH] ARM: clocksource: fix compile of asm9260_timer driver on ARCH=parisc Daniel Lezcano
2015-01-27 8:51 ` Oleksij Rempel
2015-01-27 9:05 ` Daniel Lezcano
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=1422343624-9764-1-git-send-email-linux@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome