summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/pl111/pl111_versatile.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-09-08 14:47:09 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-09-10 23:58:42 +0200
commit72fe915ac5655a84210adbe358425e40b9ada5cb (patch)
treec473274cc348193115b7efbfe397fb6434bea5f0 /drivers/gpu/drm/pl111/pl111_versatile.h
parentad86ebe71cba5fa06e1a96e41769c793b498fa75 (diff)
drm/pl111: Add handling of Versatile platforms
The ARM reference designs in the Versatile family: Integrator, Versatile and RealView can make use of the new DRM driver as well. We just need to create a bit of platform-specific code for them that we isolate to its own file. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170908124709.4758-7-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/pl111/pl111_versatile.h')
-rw-r--r--drivers/gpu/drm/pl111/pl111_versatile.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_versatile.h b/drivers/gpu/drm/pl111/pl111_versatile.h
new file mode 100644
index 000000000000..41aa6d969dc6
--- /dev/null
+++ b/drivers/gpu/drm/pl111/pl111_versatile.h
@@ -0,0 +1,9 @@
+#include <linux/device.h>
+#include "pl111_drm.h"
+
+#ifndef PL111_VERSATILE_H
+#define PL111_VERSATILE_H
+
+int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv);
+
+#endif