clocksource: Add missing include of of.h.
PATCH 1/1 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.
Signed-off-by David Lechner <[email protected]>
--- include/linux/clocksource.h | 1 + 1 file changed, 1 insertion(+)
include/linux/clocksource.h +1 -0
@@ -15,6 +15,7 @@#include <linux/cache.h> #include <linux/timer.h> #include <linux/init.h> +#include <linux/of.h> #include <asm/div64.h> #include <asm/io.h>
Signature · 1 line
1.9.1
Quoted 6 lines · David Lechner
This header uses
OF_DELCARE_1which is defined inlinux/of.h.This fixes getting unhelpful compiler error messages about missing ')' before a string constant.
Signed-off-by David Lechner <[email protected]>
Queued for testing.
thanks
-john