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

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Johan Hovold and committed by
Lee Jones
d420c988 29e92d8e

+1
+1
drivers/mfd/qcom-pm8008.c
··· 199 199 { .compatible = "qcom,pm8008", }, 200 200 { }, 201 201 }; 202 + MODULE_DEVICE_TABLE(of, pm8008_match); 202 203 203 204 static struct i2c_driver pm8008_mfd_driver = { 204 205 .driver = {