mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-15 11:44:11 +00:00
mfd: pm8008: Fix module autoloading
commitd420c9886f
upstream. 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:6b149f3310
("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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e0730960f8
commit
8c285bf839
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue