From: Liao Chen Date: Mon, 2 Sep 2024 11:33:18 +0000 (+0000) Subject: drm/bridge: it6505: Enable module autoloading X-Git-Tag: v6.13-rc1~122^2~22^2~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e2ab24cd708b1c864ff983ee1504c0a409d2f8e;p=thirdparty%2Fkernel%2Flinux.git drm/bridge: it6505: Enable module autoloading Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/20240902113320.903147-2-liaochen4@huawei.com Signed-off-by: Dmitry Baryshkov --- diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c index 87b8545fccc0a..f372c05360f2e 100644 --- a/drivers/gpu/drm/bridge/ite-it6505.c +++ b/drivers/gpu/drm/bridge/ite-it6505.c @@ -3505,6 +3505,7 @@ static const struct of_device_id it6505_of_match[] = { { .compatible = "ite,it6505" }, { } }; +MODULE_DEVICE_TABLE(of, it6505_of_match); static struct i2c_driver it6505_i2c_driver = { .driver = {