All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [PATHC] fix ide.c warning
@ 2004-04-14  2:17 Don Koch
  2004-04-14 18:02 ` Luiz Fernando N. Capitulino
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Don Koch @ 2004-04-14  2:17 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

This fixes the "implicit declaration of function `pnpide_init'" warning
in ide.c.  Based on 2.6.5-mm5.

===== drivers/ide/ide.c 1.132 vs edited =====
--- 1.132/drivers/ide/ide.c	Sat Apr 10 18:22:11 2004
+++ edited/drivers/ide/ide.c	Tue Apr 13 20:59:52 2004
@@ -2245,7 +2245,10 @@
 		return 1;
 	}
 #if defined(CONFIG_BLK_DEV_IDEPNP) && defined(CONFIG_PNP) && defined(MODULE)
-	pnpide_init(0);
+	{
+		extern void pnpide_init(int enable);
+		pnpide_init(0);
+	}
 #endif /* CONFIG_BLK_DEV_IDEPNP */
 #ifdef CONFIG_PROC_FS
 	ide_remove_proc_entries(drive->proc, DRIVER(drive)->proc);



[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-04-14 22:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-14  2:17 [Kernel-janitors] [PATHC] fix ide.c warning Don Koch
2004-04-14 18:02 ` Luiz Fernando N. Capitulino
2004-04-14 21:10 ` Michael Still
2004-04-14 21:17 ` Don Koch
2004-04-14 21:33 ` Luiz Fernando N. Capitulino
2004-04-14 21:39 ` Luiz Fernando N. Capitulino
2004-04-14 22:58 ` Michael Still

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.