]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
authorZou Wei <zou_wei@huawei.com>
Sat, 5 Jun 2021 01:21:54 +0000 (09:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:02:15 +0000 (16:02 +0200)
commit7282662b470e97a7e72812c7c399d6de3a4873c9
tree9126f2e3d0b303e96662ae6293f624181b86c8be
parent74fe548b34a37d958a2f363b4c8c2d540ab1c853
power: supply: charger-manager: add missing MODULE_DEVICE_TABLE

[ Upstream commit 073b5d5b1f9cc94a3eea25279fbafee3f4f5f097 ]

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/supply/charger-manager.c