From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v3 2/2] max77693: added device tree support Date: Fri, 27 Sep 2013 08:17:44 +0100 Message-ID: <20130927071744.GA5100@lee--X1> References: <1377104014-21910-1-git-send-email-a.hajda@samsung.com> <1377104014-21910-3-git-send-email-a.hajda@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1377104014-21910-3-git-send-email-a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andrzej Hajda Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , Samuel Ortiz , Grant Likely , Sylwester Nawrocki , Jonghwa Lee , Kyungmin Park , "open list:OPEN FIRMWARE AND..." , open list List-Id: devicetree@vger.kernel.org On Wed, 21 Aug 2013, Andrzej Hajda wrote: > This patch adds only of_match_table. > There are no device specific properties. >=20 > Signed-off-by: Andrzej Hajda > Reviewed-by: Sylwester Nawrocki > Signed-off-by: Kyungmin Park > --- > drivers/mfd/max77693.c | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c > index 27f5da3..e0b11a9 100644 > --- a/drivers/mfd/max77693.c > +++ b/drivers/mfd/max77693.c > @@ -225,11 +225,19 @@ static const struct dev_pm_ops max77693_pm =3D = { > .resume =3D max77693_resume, > }; > =20 > +#ifdef CONFIG_OF > +static struct of_device_id max77693_dt_match[] =3D { > + {.compatible =3D "maxim,max77693"}, Please add spaces before ".comp.." and after "...693"" > + {}, > +}; > +#endif > + > static struct i2c_driver max77693_i2c_driver =3D { > .driver =3D { > .name =3D "max77693", > .owner =3D THIS_MODULE, > .pm =3D &max77693_pm, > + .of_match_table =3D of_match_ptr(max77693_dt_match), > }, > .probe =3D max77693_i2c_probe, > .remove =3D max77693_i2c_remove, --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html