summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_device.h
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-02 15:07:59 (GMT)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-23 23:47:18 (GMT)
commit7f67c06721641df12ed68249218d1c2118517f78 (patch)
tree83119496ad04e8bc8b4dc034580ad4e1386e601a /drivers/gpu/drm/gma500/psb_device.h
parentfe477cc1b09ecd957c8c201b4f9c84e9d03621d4 (diff)
downloadlinux-7f67c06721641df12ed68249218d1c2118517f78.tar.xz
drm/gma500/psb: Make use of 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/psb_device.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_device.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_device.h b/drivers/gpu/drm/gma500/psb_device.h
new file mode 100644
index 0000000..35e304c
--- /dev/null
+++ b/drivers/gpu/drm/gma500/psb_device.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright © 2013 Patrik Jakobsson
+ * Copyright © 2011 Intel Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _PSB_DEVICE_H_
+#define _PSB_DEVICE_H_
+
+extern const struct gma_clock_funcs psb_clock_funcs;
+
+#endif