mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] compilation fix for 2.4.21-pre7
@ 2003-04-05 10:21 Andries.Brouwer
  0 siblings, 0 replies; only message in thread
From: Andries.Brouwer @ 2003-04-05 10:21 UTC (permalink / raw)
  To: linux-kernel

drivers/ide/idedriver.o: In function `init_dma_generic':
drivers/ide/idedriver.o(.text+0x2d): undefined reference to `ide_setup_dma'
drivers/ide/idedriver.o: In function `ide_hwif_setup_dma':
drivers/ide/idedriver.o(.text+0x13a25): undefined reference to `ide_setup_dma'
make: *** [vmlinux] Error 1

is fixed by

diff -u --recursive --new-file -X /linux/dontdiff a/include/linux/ide.h b/include/linux/ide.h
--- a/include/linux/ide.h	Sat Apr  5 10:19:55 2003
+++ b/include/linux/ide.h	Sat Apr  5 11:01:58 2003
@@ -1717,6 +1717,7 @@
 extern int __ide_dma_lostirq(ide_drive_t *);
 extern int __ide_dma_timeout(ide_drive_t *);
 #else
+static inline void ide_setup_dma(ide_hwif_t *x, unsigned long y, unsigned int z) {;}
 static inline void ide_release_dma(ide_hwif_t *x) {;}
 #endif
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-05 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-05 10:21 [PATCH] compilation fix for 2.4.21-pre7 Andries.Brouwer

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®