diff options
author | Rob Herring <robh@kernel.org> | 2020-04-05 19:14:52 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-04-28 21:06:20 +0200 |
commit | 826fc86b59034b0913976a0ff5901de82a4b66e8 (patch) | |
tree | c305c2cadc1262435c3bba24a25a410ca35de39f /drivers/gpu/drm/pl111/pl111_vexpress.h | |
parent | drm: pl111: Simplify vexpress init (diff) | |
download | linux-826fc86b59034b0913976a0ff5901de82a4b66e8.tar.xz linux-826fc86b59034b0913976a0ff5901de82a4b66e8.zip |
drm: pl111: Move VExpress setup into versatile init
Since the VExpress setup in pl111_vexpress.c is now just a single
function call, let's move it into pl111_versatile.c and we can further
simplify pl111_versatile_init() by moving the other pieces for VExpress
into pl111_vexpress_clcd_init().
Cc: Eric Anholt <eric@anholt.net>
Cc: dri-devel@lists.freedesktop.org
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200409013947.12667-4-robh@kernel.org
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/pl111/pl111_vexpress.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_vexpress.h b/drivers/gpu/drm/pl111/pl111_vexpress.h deleted file mode 100644 index bb54864ca91e..000000000000 --- a/drivers/gpu/drm/pl111/pl111_vexpress.h +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 - -struct device; -struct pl111_drm_dev_private; -struct regmap; - -#ifdef CONFIG_ARCH_VEXPRESS - -int pl111_vexpress_clcd_init(struct device *dev, - struct pl111_drm_dev_private *priv, - struct regmap *map); - -#else - -static inline int pl111_vexpress_clcd_init(struct device *dev, - struct pl111_drm_dev_private *priv, - struct regmap *map) -{ - return -ENODEV; -} - -#endif |