summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_drv.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-12-06 10:11:25 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2021-12-16 12:29:22 +0100
commitd0a0b6cd8cf9f39d99d7d5c4c080499d17f43c33 (patch)
treee09f7a47de886e96122ad2cbd75d87e569ed2d85 /drivers/gpu/drm/ast/ast_drv.h
parenta2cce09c349e2d9847ee7145986ca27d99bf0f61 (diff)
downloadlinux-d0a0b6cd8cf9f39d99d7d5c4c080499d17f43c33.tar.gz
linux-d0a0b6cd8cf9f39d99d7d5c4c080499d17f43c33.tar.bz2
linux-d0a0b6cd8cf9f39d99d7d5c4c080499d17f43c33.zip
drm/ast: Move I2C code into separate source file
Move I2C code into its own source file. Makes the mode-setting code a little less convoluted. v3: * fix SPDX tag to say 'SPDX-License-Identifier' Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20211206091125.29501-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.h')
-rw-r--r--drivers/gpu/drm/ast/ast_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h
index 2cfce7dc95af..00bfa41ff7cb 100644
--- a/drivers/gpu/drm/ast/ast_drv.h
+++ b/drivers/gpu/drm/ast/ast_drv.h
@@ -357,4 +357,7 @@ bool ast_dp501_read_edid(struct drm_device *dev, u8 *ediddata);
u8 ast_get_dp501_max_clk(struct drm_device *dev);
void ast_init_3rdtx(struct drm_device *dev);
+/* ast_i2c.c */
+struct ast_i2c_chan *ast_i2c_create(struct drm_device *dev);
+
#endif