Skip to content

Commit 4a6808f

Browse files
committed
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixes from Thomas Gleixner: "Two small fixes for the new CLKEVT_OF infrastructure" * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: vmlinux.lds: Add __clkevt_of_table to kernel clockevents: Fix syntax error in clkevt-of macro
2 parents 907977b + 8d09617 commit 4a6808f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

drivers/clocksource/clkevt-probe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <linux/init.h>
1919
#include <linux/of.h>
20-
#include <linux/clockchip.h>
20+
#include <linux/clockchips.h>
2121

2222
extern struct of_device_id __clkevt_of_table[];
2323

include/asm-generic/vmlinux.lds.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
KEEP(*(__##name##_of_table_end))
174174

175175
#define CLKSRC_OF_TABLES() OF_TABLE(CONFIG_CLKSRC_OF, clksrc)
176+
#define CLKEVT_OF_TABLES() OF_TABLE(CONFIG_CLKEVT_OF, clkevt)
176177
#define IRQCHIP_OF_MATCH_TABLE() OF_TABLE(CONFIG_IRQCHIP, irqchip)
177178
#define CLK_OF_TABLES() OF_TABLE(CONFIG_COMMON_CLK, clk)
178179
#define IOMMU_OF_TABLES() OF_TABLE(CONFIG_OF_IOMMU, iommu)
@@ -559,6 +560,7 @@
559560
CLK_OF_TABLES() \
560561
RESERVEDMEM_OF_TABLES() \
561562
CLKSRC_OF_TABLES() \
563+
CLKEVT_OF_TABLES() \
562564
IOMMU_OF_TABLES() \
563565
CPU_METHOD_OF_TABLES() \
564566
CPUIDLE_METHOD_OF_TABLES() \

include/linux/clockchips.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static inline void tick_setup_hrtimer_broadcast(void) { }
229229

230230
#ifdef CONFIG_CLKEVT_PROBE
231231
extern int clockevent_probe(void);
232-
#els
232+
#else
233233
static inline int clockevent_probe(void) { return 0; }
234234
#endif
235235

0 commit comments

Comments
 (0)