All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] timekeeping: Fix build when generic clockevents are enabled
@ 2012-08-09 11:59 Mark Brown
  2012-08-09 19:43 ` Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mark Brown @ 2012-08-09 11:59 UTC (permalink / raw)
  To: Thomas Gleixner, Rafael J. Wysocki; +Cc: linux-kernel, Mark Brown

Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
added suspend and resume operations for clockevents but did not provide
stubs for these functions, breaking the build when clockevents are not
being built. Add the stubs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 include/linux/clockchips.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index ca060db..4f9c280 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -170,6 +170,8 @@ extern void clockevents_notify(unsigned long reason, void *arg);
 #else /* CONFIG_GENERIC_CLOCKEVENTS_BUILD */
 
 #define clockevents_notify(reason, arg) do { } while (0)
+#define clockevents_suspend() do { } while (0)
+#define clockevents_resume() do { } while (0)
 
 #endif
 
-- 
1.7.10.4


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

end of thread, other threads:[~2012-08-13 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 11:59 [PATCH] timekeeping: Fix build when generic clockevents are enabled Mark Brown
2012-08-09 19:43 ` Rafael J. Wysocki
2012-08-09 19:48 ` Rafael J. Wysocki
2012-08-13 15:07 ` Thomas Gleixner
2012-08-13 15:07   ` Mark Brown
2012-08-13 18:48     ` Rafael J. Wysocki

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.