summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/cdv_device.c
diff options
context:
space:
mode:
authorPatrik Jakobsson2013-07-01 01:42:16 +0200
committerPatrik Jakobsson2013-07-24 01:47:17 +0200
commit2adb29ff61c97982addf702d7da106569e217329 (patch)
tree820b0c2de0917da3b9bf8f278cbcbc94c5995e65 /drivers/gpu/drm/gma500/cdv_device.c
parentdrm/gma500: Add generic code for clock calculation (diff)
downloadkernel-qcow2-linux-2adb29ff61c97982addf702d7da106569e217329.tar.gz
kernel-qcow2-linux-2adb29ff61c97982addf702d7da106569e217329.tar.xz
kernel-qcow2-linux-2adb29ff61c97982addf702d7da106569e217329.zip
drm/gma500/cdv: Make use of the generic clock code
Add chip specific callbacks for the generic and non-generic clock calculation code. Also remove as much dupilicated code as possible. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_device.c')
-rw-r--r--drivers/gpu/drm/gma500/cdv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c
index 23e14e93991f..daa45b5b3a45 100644
--- a/drivers/gpu/drm/gma500/cdv_device.c
+++ b/drivers/gpu/drm/gma500/cdv_device.c
@@ -641,6 +641,7 @@ const struct psb_ops cdv_chip_ops = {
.crtc_helper = &cdv_intel_helper_funcs,
.crtc_funcs = &cdv_intel_crtc_funcs,
+ .clock_funcs = &cdv_clock_funcs,
.output_init = cdv_output_init,
.hotplug = cdv_hotplug_event,