From: Arnd Bergmann <arnd@bergmann-dalldorf.de>
To: kernel-janitor-discuss@lists.sourceforge.net
Cc: Trivial Patches <trivial@rustcorp.com.au>, linux-ide@vger.kernel.org
Subject: [PATCH] namespace pollution in ide-probe.c
Date: Thu, 19 Dec 2002 01:12:02 +0100 [thread overview]
Message-ID: <200212190112.02404.arnd@bergmann-dalldorf.de> (raw)
In-Reply-To: <200212190106.47973.arnd@bergmann-dalldorf.de>
The function init_irq is only used in ide-probe.c, so it should
better be static.
===== drivers/ide/ide-probe.c 1.30 vs edited =====
--- 1.30/drivers/ide/ide-probe.c Mon Dec 2 19:19:20 2002
+++ edited/drivers/ide/ide-probe.c Wed Dec 18 18:00:31 2002
@@ -848,7 +848,7 @@
* but anything else has led to problems on some machines. We re-enable
* interrupts as much as we can safely do in most places.
*/
-int init_irq (ide_hwif_t *hwif)
+static int init_irq (ide_hwif_t *hwif)
{
unsigned long flags;
unsigned int index;
@@ -993,8 +993,6 @@
printk("\n");
return 0;
}
-
-EXPORT_SYMBOL(init_irq);
static int ata_lock(dev_t dev, void *data)
{
parent reply other threads:[~2002-12-19 0:12 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200212190106.47973.arnd@bergmann-dalldorf.de>]
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=200212190112.02404.arnd@bergmann-dalldorf.de \
--to=arnd@bergmann-dalldorf.de \
--cc=kernel-janitor-discuss@lists.sourceforge.net \
--cc=linux-ide@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.