Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: charger-manager: add missing MODULE_DEVICE_TABLE

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>

authored by

Zou Wei and committed by
Sebastian Reichel
073b5d5b 4465b3a6

+1
+1
drivers/power/supply/charger-manager.c
··· 1279 1279 }, 1280 1280 {}, 1281 1281 }; 1282 + MODULE_DEVICE_TABLE(of, charger_manager_match); 1282 1283 1283 1284 static struct charger_desc *of_cm_parse_desc(struct device *dev) 1284 1285 {