Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754420Ab2HUIfX (ORCPT ); Tue, 21 Aug 2012 04:35:23 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:51181 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754359Ab2HUIfS (ORCPT ); Tue, 21 Aug 2012 04:35:18 -0400 Date: Tue, 21 Aug 2012 10:29:06 +0200 From: Wolfram Sang To: Thierry Reding Cc: Jean Delvare , Ben Dooks , Daniel Kurtz , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c-i801: Add device tree support Message-ID: <20120821082906.GC28886@pengutronix.de> References: <1344409609-1904-1-git-send-email-thierry.reding@avionic-design.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7gGkHNMELEOhSGF6" Content-Disposition: inline In-Reply-To: <1344409609-1904-1-git-send-email-thierry.reding@avionic-design.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:21e:67ff:fe11:9c5c X-SA-Exim-Mail-From: wsa@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2182 Lines: 70 --7gGkHNMELEOhSGF6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 08, 2012 at 09:06:47AM +0200, Thierry Reding wrote: > This commit adds support for probing slave devices parsed from the > device tree. >=20 > Signed-off-by: Thierry Reding Acked-by: Wolfram Sang Jean, this one is for you, I guess? > --- > drivers/i2c/busses/i2c-i801.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c > index 6f00785..b5311cf 100644 > --- a/drivers/i2c/busses/i2c-i801.c > +++ b/drivers/i2c/busses/i2c-i801.c > @@ -80,6 +80,7 @@ > #include > #include > #include > +#include > =20 > #if defined CONFIG_I2C_MUX || defined CONFIG_I2C_MUX_MODULE > #include > @@ -1238,6 +1239,7 @@ static int __devinit i801_probe(struct pci_dev *dev, > goto exit_free_irq; > } > =20 > + of_i2c_register_devices(&priv->adapter); > i801_probe_optional_slaves(priv); > /* We ignore errors - multiplexing is optional */ > i801_add_mux(priv); > --=20 > 1.7.11.4 >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-i2c" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --7gGkHNMELEOhSGF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlAzRtIACgkQD27XaX1/VRuMKgCgv7WNAHl90AUOSP3UPu2pVD1C SE4AoLDSi/Q0C2LFxHLTMvPIXD9B6hdJ =SE4V -----END PGP SIGNATURE----- --7gGkHNMELEOhSGF6-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/