[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220216025839.GA28938@hu-gurus-sd.qualcomm.com>
Date: Tue, 15 Feb 2022 18:58:39 -0800
From: Guru Das Srinagesh <quic_gurus@...cinc.com>
To: Satya Priya <quic_c_skakit@...cinc.com>
CC: Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Lee Jones <lee.jones@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Das Srinagesh <gurus@...eaurora.org>,
<linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <swboyd@...omium.org>,
<quic_collinsd@...cinc.com>, <quic_subbaram@...cinc.com>,
<quic_jprakash@...cinc.com>
Subject: Re: [PATCH V6 3/6] mfd: pm8008: Add mfd cell struct to register LDOs
On Tue, Feb 15, 2022 at 02:23:48PM +0530, Satya Priya wrote:
> static const struct of_device_id pm8008_match[] = {
> - { .compatible = "qcom,pm8008", },
> - { },
> + { .compatible = "qcom,pm8008", .data = (void *)PM8008_INFRA},
> + { .compatible = "qcom,pm8008-regulators", .data = (void *)PM8008_REGULATORS},
Typo perhaps: Please set the last element of this array to the sentinel value NULL.
{},
> };
> +MODULE_DEVICE_TABLE(of, pm8008_match)
Missing a semicolon at the end.
>
> static struct i2c_driver pm8008_mfd_driver = {
> .driver = {
Powered by blists - more mailing lists