lkml.org 
[lkml]   [2022]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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 = {

    \
     
     \ /
      Last update: 2022-02-16 03:59    [W:4.540 / U:0.512 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site