Skip to content

Commit 02fad5e

Browse files
dlechjohnstultz-work
authored andcommitted
clocksource: Add missing include of of.h.
This header uses OF_DELCARE_1 which is defined in linux/of.h. This fixes getting unhelpful compiler error messages about missing ')' before a string constant. Cc: Prarit Bhargava <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: David Lechner <[email protected]> Signed-off-by: John Stultz <[email protected]>
1 parent 9735a22 commit 02fad5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/clocksource.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/cache.h>
1616
#include <linux/timer.h>
1717
#include <linux/init.h>
18+
#include <linux/of.h>
1819
#include <asm/div64.h>
1920
#include <asm/io.h>
2021

0 commit comments

Comments
 (0)