namespace pollution in ide-probe.c
PATCH 1/1 namespace pollution in ide-probe.c
In reply to a message not in the archiveThe 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 =====
drivers/ide/ide-probe.c +1 -3
@@ -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) {