Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753709AbbHZQzi (ORCPT ); Wed, 26 Aug 2015 12:55:38 -0400 Received: from sauhun.de ([89.238.76.85]:42705 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbbHZQzg (ORCPT ); Wed, 26 Aug 2015 12:55:36 -0400 Date: Wed, 26 Aug 2015 18:55:32 +0200 From: Wolfram Sang To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [RESEND PATCH 1/7] i2c: core: Export I2C module alias information in dummy driver Message-ID: <20150826165532.GC1521@katana> References: <1440484277-32675-1-git-send-email-javier@osg.samsung.com> <1440484277-32675-2-git-send-email-javier@osg.samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: <1440484277-32675-2-git-send-email-javier@osg.samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2021 Lines: 49 --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 25, 2015 at 08:31:11AM +0200, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c:" > regardless of the mechanism that was used to register the device > (i.e: OF or board code) and the table that is used later to match > the driver with the device (i.e: I2C id table or OF match table). >=20 > So drivers needs to export the I2C id table and this be built into > the module or udev won't have the necessary information to autoload > the needed driver module when the device is added. >=20 > Signed-off-by: Javier Martinez Canillas The dummy driver is always loaded when the i2c core inits. --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV3e+EAAoJEBQN5MwUoCm2Yz4QAIJR/FJy4bR6ayp9iARez3Em YGfKKGbiIZafXJ2E2Vs5HIIcZ42T1KNGs+Iw53C1NdcDCwRtpTprSWYfACKhVJ+5 Ty66dmXkGgpT3C3rSBEbfn6lukUFC03/EVoHzSU7vbyCBk7cxvPnqXlNGgYIPZ1M 3Xc4efd/i40cvy87/PZI93Zo7ljj6I9FpBu/+feqoVNEwpGtL0Mb2MUcxZSGCnCB X79GhFWWsEVWj+Py+0i4zFxkw2qDovnMycXAbArqLgHP5vZ4KyQbzBn6p8mO3ZZR HGrEh5gzSMg8nd61Twuo5KYrjtt+K0mDAbJrxepN1tfQ8vx+rJv8e9y5pXknnQ+V /OEh/cY4ORsKubg93tRxJlWF2W+9/826Wv+Ot0HTIPwAvZAU+vnWnMhyLnlr4D7i wv2Td3PCfKiXunnfOnqJNQ4YKT/dV4Kd+4f+0F0knk2V0efxkxYOH6VAtvgg63CT 0X9k8rpXYFLBG26TVSnS2hkse4++Y1p3Krkwwn599XTNYVnhcjfD7DWz5oVLImhh x+CpNu0RzlJ3t7/SYy6/cF/orB1EuNd36PRBHIBZUYBbVShLje2z2ac5zhUJJoDQ P/2XB9gxhFCbM5siL8IcezJTjhwrCbuEZXmr+PxJoLeJFuYAQxmRQLaw+xAKoSvD T5JiG99XOYu2KKtGtEqX =CTjB -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB-- -- 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/