linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Yegor Yefremov <yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Accessing EEPROM from Linux driver
Date: Tue, 24 Jan 2012 12:13:20 +0100	[thread overview]
Message-ID: <20120124111320.GD2609@pengutronix.de> (raw)
In-Reply-To: <CAGm1_kugwA-rWXmCNNcxRc4XZ5u-2N8Rwf+LBaoRrOgBWMTbDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

> 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

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2012-01-24 11:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  9:51 Accessing EEPROM from Linux driver Yegor Yefremov
     [not found] ` <CAGm1_ku3N0ksJ4USt9Rae=Yo3xcTFX=dLVh6=YMkFjUaLABu-A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-24  9:54   ` Bill Gatliff
2012-01-24 10:06   ` Wolfram Sang
     [not found]     ` <20120124100636.GB2609-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-01-24 10:13       ` Yegor Yefremov
     [not found]         ` <CAGm1_ksgrtyAmo73f-GCr_ZH=8i8LxbwFpMH81U2STQzmT9GYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-24 11:03           ` Yegor Yefremov
     [not found]             ` <CAGm1_kugwA-rWXmCNNcxRc4XZ5u-2N8Rwf+LBaoRrOgBWMTbDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-24 11:13               ` Wolfram Sang [this message]
     [not found]                 ` <20120124111320.GD2609-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-01-25 11:19                   ` Yegor Yefremov
2012-10-11  9:58                     ` samir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120124111320.GD2609@pengutronix.de \
    --to=w.sang-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).