From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: Accessing EEPROM from Linux driver Date: Tue, 24 Jan 2012 12:13:20 +0100 Message-ID: <20120124111320.GD2609@pengutronix.de> References: <20120124100636.GB2609@pengutronix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yegor Yefremov Cc: Linux I2C List-Id: linux-i2c@vger.kernel.org --d01dLTUuW90fS44H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Wolfram, do you have any example how to access at24_macc_read()? My > kernel is 2.6.37. Theres is a statement to export this code to the > kernel via chip.setup(), which appears to be NULL. What headers do I > need in the network driver? I haven't used it myself, but using LXR [1] you can check current users of at24_platform_data and find users (davinci) using this feature. [1] http://lxr.linux.no/#linux+v3.2.1/include/linux/i2c/at24.h --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --d01dLTUuW90fS44H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk8eklAACgkQD27XaX1/VRsQ7ACgpukJx3QDFcEnPr7NrkxMklUL dI8AnjvpLu0NRt8WUpKtMw21ovbCwe7U =HgY3 -----END PGP SIGNATURE----- --d01dLTUuW90fS44H--