From: Johan Hovold Date: Fri, 26 May 2023 09:16:45 +0000 (+0200) Subject: mfd: pm8008: Fix module autoloading X-Git-Tag: v6.6.17~4472^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d420c9886f5369697047b880221789bf0054e438;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Konrad Dybcio Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20230526091646.17318-2-johan+linaro@kernel.org --- diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c index 959b701..5615743 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 = {