On Tue, Feb 15, 2022 at 02:23:48PM +0530, Satya Priya wrote:
static const struct of_device_id pm8008_match[] = {Typo perhaps: Please set the last element of this array to the sentinel value NULL.
- { .compatible = "qcom,pm8008", },
- { },
+ { .compatible = "qcom,pm8008", .data = (void *)PM8008_INFRA},
+ { .compatible = "qcom,pm8008-regulators", .data = (void *)PM8008_REGULATORS},
{},
};Missing a semicolon at the end.
+MODULE_DEVICE_TABLE(of, pm8008_match)