From 23834a4116cd468d62e1092234e46ec1919a9e86 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Wed, 3 Dec 2014 18:36:53 +0100 Subject: [PATCH] ARM: 8244/1: fbdev: sa1100fb: make use of device clock Use per-device clock (instead of calling cpufreq_get(0), which can return 0 if no cpu frequency driver is selected) to program timings. Signed-off-by: Dmitry Eremin-Solenikov Acked-by: Tomi Valkeinen Signed-off-by: Russell King --- drivers/video/fbdev/sa1100fb.c | 30 +++++++++++++++++++++++------- drivers/video/fbdev/sa1100fb.h | 1 + 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index 9690216d38ff..c0abe276ee55 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c @@ -178,6 +178,7 @@ #include #include #include +#include #include