From: "Adrian McMenamin" <lkmladrian@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linuxsh-dev@lists.sourceforge.net
Subject: [PATCH - SH] Clean up maple bus code to supress compiler warning
Date: Sun, 28 Oct 2007 14:24:10 +0000 [thread overview]
Message-ID: <8b67d60710280724s761f1d29t9de57941a9800913@mail.gmail.com> (raw)
The API for uevent has changed for 2.6.24 and this patch makes a
consequential clean up.
(Apols to linux-sh list users seeing this for the second time, I
should have included lkml first time round for completeness)
Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index 161d102..e52a629 100644
--- a/drivers/sh/maple/maple.c
+++ b/drivers/sh/maple/maple.c
@@ -601,8 +601,7 @@ static int match_maple_bus_driver(struct device *devptr,
return 0;
}
-static int maple_bus_uevent(struct device *dev, char **envp,
- int num_envp, char *buffer, int buffer_size)
+static int maple_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
{
return 0;
}
next reply other threads:[~2007-10-28 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-28 14:24 Adrian McMenamin [this message]
[not found] ` <1193530224.6094.9.camel@localhost.localdomain>
2007-10-30 0:51 ` [PATCH] Fix maple bus " Paul Mundt
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=8b67d60710280724s761f1d29t9de57941a9800913@mail.gmail.com \
--to=lkmladrian@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxsh-dev@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®