mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/bridge: it6505: Enable module autoloading
[ Upstream commit 1e2ab24cd708b1c864ff983ee1504c0a409d2f8e ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240902113320.903147-2-liaochen4@huawei.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dd376b0e61
commit
20baf71507
@@ -3349,6 +3349,7 @@ static const struct of_device_id it6505_of_match[] = {
|
|||||||
{ .compatible = "ite,it6505" },
|
{ .compatible = "ite,it6505" },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, it6505_of_match);
|
||||||
|
|
||||||
static struct i2c_driver it6505_i2c_driver = {
|
static struct i2c_driver it6505_i2c_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|||||||
Reference in New Issue
Block a user