Skip to contentSkip to conversation

fix IDE pdc4030.c compile

PATCH In review Adrian Bunk 2 participants 2 messages Sep 6, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix IDE pdc4030.c compile

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:

drivers/ide/legacy/pdc4030.c renamed from drivers/ide/legacy/pdc4030.c.old +1 -1
@@ -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

Signature · 4 lines
       "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
#1 lore raw
Quoted 5 lines

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