summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tinydrm/st7735r.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-07-19 17:59:16 +0200
committerNoralf Trønnes <noralf@tronnes.org>2019-07-23 15:50:46 +0200
commit710ae47dc6cb11f11a3007f7ade7d937804e160d (patch)
tree042a3f3174406c67b0c6c7ad34aa4bdbb0e57fc3 /drivers/gpu/drm/tinydrm/st7735r.c
parentdrm/tinydrm/mipi-dbi: Add mipi_dbi_init_with_formats() (diff)
downloadlinux-710ae47dc6cb11f11a3007f7ade7d937804e160d.tar.xz
linux-710ae47dc6cb11f11a3007f7ade7d937804e160d.zip
drm/tinydrm: Move tinydrm_display_pipe_init() to mipi-dbi
tinydrm_display_pipe_init() has only one user now, so move it to mipi-dbi. Changes: - Remove drm_connector_helper_funcs.detect, it's always connected. - Store the connector and mode in mipi_dbi instead of it's own struct. Otherwise remove some leftover tinydrm-helpers.h inclusions. Cc: Eric Anholt <eric@anholt.net> Cc: David Lechner <david@lechnology.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190719155916.62465-12-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/tinydrm/st7735r.c')
-rw-r--r--drivers/gpu/drm/tinydrm/st7735r.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tinydrm/st7735r.c b/drivers/gpu/drm/tinydrm/st7735r.c
index b23899788f5b..151749035a19 100644
--- a/drivers/gpu/drm/tinydrm/st7735r.c
+++ b/drivers/gpu/drm/tinydrm/st7735r.c
@@ -20,7 +20,6 @@
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/tinydrm/mipi-dbi.h>
-#include <drm/tinydrm/tinydrm-helpers.h>
#define ST7735R_FRMCTR1 0xb1
#define ST7735R_FRMCTR2 0xb2