From: Andrey Panin <pazke@orbita1.ru>
To: linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au
Subject: [PATCH] drivers/net/dl2k.c: missing __devinit's
Date: Tue, 16 Apr 2002 14:24:42 +0400 [thread overview]
Message-ID: <20020416102442.GA284@pazke.ipt> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 266 bytes --]
This patch adds missing __devinit modifiers for read_eeprom() and
parse_eeprom() functions. Patch against 2.5.8. Compiles, but untested.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
[-- Attachment #1.2: patch-dl2k-devinit --]
[-- Type: text/plain, Size: 533 bytes --]
diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/dl2k.c linux/drivers/net/dl2k.c
--- linux.vanilla/drivers/net/dl2k.c Sun Apr 14 23:30:38 2002
+++ linux/drivers/net/dl2k.c Sun Apr 14 23:57:54 2002
@@ -327,7 +327,7 @@
return 0;
}
-int
+static int __devinit
parse_eeprom (struct net_device *dev)
{
int i, j;
@@ -1275,7 +1275,7 @@
#define EEP_READ 0x0200
#define EEP_BUSY 0x8000
/* Read the EEPROM word */
-int
+static int __devinit
read_eeprom (long ioaddr, int eep_addr)
{
int i = 1000;
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
reply other threads:[~2002-04-16 10:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020416102442.GA284@pazke.ipt \
--to=pazke@orbita1.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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