]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/mediatek: mtk_hdmi_ddc: Switch to register as module_platform_driver
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 15 Apr 2025 10:43:03 +0000 (12:43 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 21 Apr 2025 12:27:55 +0000 (12:27 +0000)
commitc241118b62164786303e6614378feb7d1fda4f54
treec6ebac19c8b6b5e632644d8fcfe25efd818358c3
parent1e914a89ab7eef0b3890819847465f4c8c9d091d
drm/mediatek: mtk_hdmi_ddc: Switch to register as module_platform_driver

In preparation for adding a driver for the new HDMIv2 IP, and
before splitting out the common bits from the HDMI driver,
change the mtk_hdmi_ddc driver from being registered from the
HDMI driver itself to be a module_platform_driver of its own.

With this change, there are no more users of the mtk_hdmi.h header
so, while at it, also remove it.

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250415104321.51149-6-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/Makefile
drivers/gpu/drm/mediatek/mtk_hdmi.c
drivers/gpu/drm/mediatek/mtk_hdmi.h [deleted file]
drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c