Skip to content

Commit

Permalink
mfd: pm8008: Fix module autoloading
Browse files Browse the repository at this point in the history
Add the missing module device table alias to that the driver can be
autoloaded when built as a module.

Cc: [email protected]      # 5.14
Fixes: 6b149f3 ("mfd: pm8008: Add driver for QCOM PM8008 PMIC")
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
jhovold authored and lag-linaro committed Jun 15, 2023
1 parent 29e92d8 commit d420c98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/qcom-pm8008.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit d420c98

Please sign in to comment.