Commit 12668442 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in ide-probe.c

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The function init_irq is only used in ide-probe.c, so it should
  better be static.
parent e1b49af5
......@@ -848,7 +848,7 @@ static void ide_init_queue(ide_drive_t *drive)
* 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;
......@@ -994,8 +994,6 @@ int init_irq (ide_hwif_t *hwif)
return 0;
}
EXPORT_SYMBOL(init_irq);
static int ata_lock(dev_t dev, void *data)
{
/* FIXME: we want to pin hwif down */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment