[PATCH] tiny patch to kill warning in drivers/ide/ide.c

From: Jesper Juhl
Date: Tue Jun 08 2004 - 20:40:41 EST



To kill this warning :

drivers/ide/ide.c: In function `ide_unregister_subdriver':
drivers/ide/ide.c:2216: warning: implicit declaration of function `pnpide_init'

I added a simple declaration of pnpide_init to drivers/ide/ide.c

Here's a patch against 2.6.7-rc3 - please consider including it (or if
that's not the way to do it, then don't) :)


--- linux-2.6.7-rc3-orig/drivers/ide/ide.c 2004-06-09 03:34:49.000000000 +0200
+++ linux-2.6.7-rc3/drivers/ide/ide.c 2004-06-09 03:31:29.000000000 +0200
@@ -198,6 +198,7 @@ EXPORT_SYMBOL(ide_hwifs);

extern ide_driver_t idedefault_driver;
static void setup_driver_defaults(ide_driver_t *driver);
+void pnpide_init(int enable);

/*
* Do not even *think* about calling this!


--
Jesper Juhl <juhl-lkml@xxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/