summaryrefslogtreecommitdiff
path: root/drivers/mfd/qcom-pm8008.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-05-26 11:16:45 +0200
committerLee Jones <lee@kernel.org>2023-06-15 09:19:38 +0100
commitd420c9886f5369697047b880221789bf0054e438 (patch)
treecd92a8099cb4e9381b2def6f8bd04b1577a8a474 /drivers/mfd/qcom-pm8008.c
parent29e92d8ea8e9410c10f2ebdc4abf679be0ff099c (diff)
mfd: pm8008: Fix module autoloading
Add the missing module device table alias to that the driver can be autoloaded when built as a module. Cc: stable@vger.kernel.org # 5.14 Fixes: 6b149f3310a4 ("mfd: pm8008: Add driver for QCOM PM8008 PMIC") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230526091646.17318-2-johan+linaro@kernel.org
Diffstat (limited to 'drivers/mfd/qcom-pm8008.c')
-rw-r--r--drivers/mfd/qcom-pm8008.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c
index 959b70148442..56157430deca 100644
--- a/drivers/mfd/qcom-pm8008.c
+++ b/drivers/mfd/qcom-pm8008.c
@@ -199,6 +199,7 @@ static const struct of_device_id pm8008_match[] = {
{ .compatible = "qcom,pm8008", },
{ },
};
+MODULE_DEVICE_TABLE(of, pm8008_match);
static struct i2c_driver pm8008_mfd_driver = {
.driver = {