linux/drivers/gpu/drm/ast/ast_ddc.h
Thomas Zimmermann a6020c4386 drm/ast: Define struct ast_ddc in ast_ddc.c
Move the definition of struct ast_ddc to ast_ddc.c and return the i2c
adapter from ast_ddc_create(). Update callers accordingly. Avoids
including Linux i2c header files, except where required. No functional
changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240403103325.30457-4-tzimmermann@suse.de
2024-04-11 09:38:17 +02:00

12 lines
189 B
C

/* SPDX-License-Identifier: MIT */
#ifndef __AST_DDC_H__
#define __AST_DDC_H__
struct ast_device;
struct i2c_adapter;
struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
#endif