From a38fd920d503c5a9d4119b309901087a69195987 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 22 Aug 2025 14:13:28 +0200 Subject: [PATCH] vout: starfive: correct MODULE_DEVICE_TABLE for pin driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid an error In file included from drivers/gpu/drm/i2c/tda998x_pin.c:1: drivers/gpu/drm/i2c/tda998x_pin.c:27:25: error: ‘starfive_drm_dt_ids’ undeclared here (not in a function) 27 | MODULE_DEVICE_TABLE(of, starfive_drm_dt_ids); | ^~~~~~~~~~~~~~~~~~~ Fixes: 4bb9a5d4dd95 ("vout: starfive: Add driver for the StarFive JH7110 display subsystem") Signed-off-by: Heinrich Schuchardt --- drivers/gpu/drm/i2c/tda998x_pin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_pin.c b/drivers/gpu/drm/i2c/tda998x_pin.c index 0e13b1392549..3fbc141c9532 100644 --- a/drivers/gpu/drm/i2c/tda998x_pin.c +++ b/drivers/gpu/drm/i2c/tda998x_pin.c @@ -24,7 +24,7 @@ static const struct of_device_id tda998x_rgb_dt_ids[] = { { .compatible = "starfive,tda998x_rgb_pin", }, { /* sentinel */ }, }; -MODULE_DEVICE_TABLE(of, starfive_drm_dt_ids); +MODULE_DEVICE_TABLE(of, tda998x_rgb_dt_ids); static struct platform_driver starfive_drm_platform_driver = { .probe = starfive_drm_platform_probe,