mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [-mm patch] fix IDE pdc4030.c compile
@ 2003-09-06 19:44 Adrian Bunk
  2003-09-06 22:12 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-09-06 19:44 UTC (permalink / raw)
  To: Andrew Morton, Randy.Dunlap, Domen Puncer; +Cc: linux-kernel, B.Zolnierkiewicz

init-exit-cleanups.patch in 2.6.0-test4-mm6 made ide_probe_for_pdc4030 
in drivers/ide/legacy/pdc4030.c static although it's referenced from 
drivers/ide/ide.c resulting in a link error.

The following patch fixes it:

--- linux-2.6.0-test4-mm6/drivers/ide/legacy/pdc4030.c.old	2003-09-06 21:28:20.000000000 +0200
+++ linux-2.6.0-test4-mm6/drivers/ide/legacy/pdc4030.c	2003-09-06 21:28:40.000000000 +0200
@@ -297,7 +297,7 @@
 }
 
 
-static int __init ide_probe_for_pdc4030(void)
+int __init ide_probe_for_pdc4030(void)
 {
 	unsigned int	index;
 	ide_hwif_t	*hwif;



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: [-mm patch] fix IDE pdc4030.c compile
  2003-09-06 19:44 [-mm patch] fix IDE pdc4030.c compile Adrian Bunk
@ 2003-09-06 22:12 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-09-06 22:12 UTC (permalink / raw)
  To: bunk; +Cc: akpm, rddunlap, domen, linux-kernel, B.Zolnierkiewicz

> init-exit-cleanups.patch in 2.6.0-test4-mm6 made ide_probe_for_pdc4030  in
> drivers/ide/legacy/pdc4030.c static although it's referenced from
> drivers/ide/ide.c resulting in a link error.
>
> The following patch fixes it:

Thanks, I'll test better in the future, and expect submitters
to do so also.

~Randy




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

end of thread, other threads:[~2003-09-06 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-06 19:44 [-mm patch] fix IDE pdc4030.c compile Adrian Bunk
2003-09-06 22:12 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®