From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: stelian@popies.net
Subject: [PATCH] sonypi section usage
Date: Sun, 7 Mar 2004 19:53:49 -0800 [thread overview]
Message-ID: <20040307195349.354f3bf1.rddunlap@osdl.org> (raw)
Hi Stelian,
Please apply to 2.6.current.
Thanks,
--
~Randy
// Linux 2.6.4-rc2
// sonypi_type[12]_srs() are called by sonypi_pm_callback()
// so they shouldn't be marked as __devinit;
diffstat:=
drivers/char/sonypi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Naurp ./drivers/char/sonypi.c~sonypi_init ./drivers/char/sonypi.c
--- ./drivers/char/sonypi.c~sonypi_init 2004-02-17 19:58:47.000000000 -0800
+++ ./drivers/char/sonypi.c 2004-03-07 14:59:19.000000000 -0800
@@ -129,7 +129,7 @@ static int ec_read16(u8 addr, u16 *value
}
/* Initializes the device - this comes from the AML code in the ACPI bios */
-static void __devinit sonypi_type1_srs(void) {
+static void sonypi_type1_srs(void) {
u32 v;
pci_read_config_dword(sonypi_device.dev, SONYPI_G10A, &v);
@@ -151,7 +151,7 @@ static void __devinit sonypi_type1_srs(v
pci_write_config_dword(sonypi_device.dev, SONYPI_G10A, v);
}
-static void __devinit sonypi_type2_srs(void) {
+static void sonypi_type2_srs(void) {
if (sonypi_ec_write(SONYPI_SHIB, (sonypi_device.ioport1 & 0xFF00) >> 8))
printk(KERN_WARNING "ec_write failed\n");
if (sonypi_ec_write(SONYPI_SLOB, sonypi_device.ioport1 & 0x00FF))
next reply other threads:[~2004-03-08 4:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-08 3:53 Randy.Dunlap [this message]
2004-03-08 13:59 ` Stelian Pop
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=20040307195349.354f3bf1.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stelian@popies.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®