* [PATCH] namespace pollution in ide-probe.c
[not found] <200212190106.47973.arnd@bergmann-dalldorf.de>
@ 2002-12-19 0:12 ` Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2002-12-19 0:12 UTC (permalink / raw)
To: kernel-janitor-discuss; +Cc: Trivial Patches, linux-ide
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-19 0:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200212190106.47973.arnd@bergmann-dalldorf.de>
2002-12-19 0:12 ` [PATCH] namespace pollution in ide-probe.c Arnd Bergmann
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.