lkml.org 
[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] compilation fix for 2.4.21-pre7
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

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

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.020 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site