regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
PATCH 1/1 regulator: Add MODULE_DEVICE_TABLE to max8997 and max8998
The device table is required to load modules based on modaliases.
Signed-off-by Axel Lin <[email protected]>
Cc MyungJoo Ham <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Marek Szyprowski <[email protected]>
--- drivers/regulator/max8997.c | 1 + drivers/regulator/max8998.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/regulator/max8997.c +1 -0
@@ -1185,6 +1185,7 @@ static const struct platform_device_id max8997_pmic_id[] = { { "max8997-pmic", 0}, { }, }; +MODULE_DEVICE_TABLE(platform, max8997_pmic_id); static struct platform_driver max8997_pmic_driver = { .driver = {
drivers/regulator/max8998.c +1 -0
@@ -887,6 +887,7 @@ static const struct platform_device_id max8998_pmic_id[] = { { "lp3974-pmic", TYPE_LP3974 }, { } }; +MODULE_DEVICE_TABLE(platform, max8998_pmic_id); static struct platform_driver max8998_pmic_driver = { .driver = {
Signature · 1 line
1.7.1
Quoted 3 lines · Axel Lin
The device table is required to load modules based on modaliases.
Signed-off-by Axel Lin <[email protected]>
Acked-by Mark Brown <[email protected]>
Liam Girdwood
AppliedQuoted 8 lines · Axel Lin
The device table is required to load modules based on modaliases.
Signed-off-by Axel Lin <[email protected]>Cc MyungJoo Ham <[email protected]>Cc Kyungmin Park <[email protected]>Cc Marek Szyprowski <[email protected]>---
Applied.
Thanks
Liam