Loading
gpio: modepin: Enable module autoloading
stable inclusion from stable-v6.6.51 commit 52b688c8087b3fb1edd547b18a7cd9c80279212e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAYRVR Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=52b688c8087b3fb1edd547b18a7cd9c80279212e -------------------------------- [ Upstream commit a5135526426df5319d5f4bcd15ae57c45a97714b ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Fixes: 7687a5b0 ("gpio: modepin: Add driver support for modepin GPIO controller") Signed-off-by:Liao Chen <liaochen4@huawei.com> Reviewed-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240902115848.904227-1-liaochen4@huawei.com Signed-off-by:
Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>