The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Yani Ioannou <yani.ioannou@gmail.com>
To: Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org
Subject: [PATCH 2.6.12-rc4 13/15] include: update device attribute callbacks
Date: Tue, 17 May 2005 06:44:59 -0400	[thread overview]
Message-ID: <2538186705051703441093903a@mail.gmail.com> (raw)

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

Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>

---

[-- Attachment #2: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update.diff-include.diff.diffstat.txt --]
[-- Type: text/plain, Size: 66 bytes --]

 ocp.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


[-- Attachment #3: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update.diff-include.diff --]
[-- Type: text/x-patch, Size: 799 bytes --]

diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr/include/asm-ppc/ocp.h linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/asm-ppc/ocp.h
--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr/include/asm-ppc/ocp.h	2005-05-16 20:36:26.000000000 -0400
+++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/asm-ppc/ocp.h	2005-05-16 23:45:53.000000000 -0400
@@ -189,7 +189,7 @@ extern void ocp_for_each_device(void(*ca
 /* Sysfs support */
 #define OCP_SYSFS_ADDTL(type, format, name, field)			\
 static ssize_t								\
-show_##name##_##field(struct device *dev, char *buf)			\
+show_##name##_##field(struct device *dev, struct device_attribute *attr, char *buf)			\
 {									\
 	struct ocp_device *odev = to_ocp_dev(dev);			\
 	type *add = odev->def->additions;				\


             reply	other threads:[~2005-05-17 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 10:44 Yani Ioannou [this message]
2005-05-17 11:19 ` 2.6 kernel network programming linux
2005-05-17 11:44   ` Niraj kumar

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=2538186705051703441093903a@mail.gmail.com \
    --to=yani.ioannou@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.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