From: Andrey Panin <pazke@orbita1.ru>
To: Martin Dalecki <dalecki@evision-ventures.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] SLC82C105 IDE driver: missing __init
Date: Wed, 22 May 2002 13:16:48 +0400 [thread overview]
Message-ID: <20020522091648.GB312@pazke.ipt> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]
Hi,
slc82c105_bridge_revision() functions lacks __init modifier.
Attached patch (against 2.5.17) fixes it.
Compiles, but untested. Please consider applying.
Best regards.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
[-- Attachment #1.2: patch-slc82c105 --]
[-- Type: text/plain, Size: 521 bytes --]
diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/ide/sl82c105.c linux/drivers/ide/sl82c105.c
--- linux.vanilla/drivers/ide/sl82c105.c Tue May 21 01:56:18 2002
+++ linux/drivers/ide/sl82c105.c Wed May 22 03:10:09 2002
@@ -185,7 +185,7 @@
* Return the revision of the Winbond bridge
* which this function is part of.
*/
-static unsigned int sl82c105_bridge_revision(struct pci_dev *dev)
+static unsigned int __init sl82c105_bridge_revision(struct pci_dev *dev)
{
struct pci_dev *bridge;
unsigned char rev;
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next reply other threads:[~2002-05-22 9:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-22 9:16 Andrey Panin [this message]
2002-05-22 9:36 ` Russell King
2002-05-22 8:40 ` Martin Dalecki
2002-05-22 13:10 ` Alan Cox
2002-05-22 14:09 ` Andrey Panin
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=20020522091648.GB312@pazke.ipt \
--to=pazke@orbita1.ru \
--cc=dalecki@evision-ventures.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®