patch-2.4.0-test5 linux/include/asm-arm/dma.h

Next file: linux/include/asm-arm/mc146818rtc.h
Previous file: linux/include/asm-arm/dec21285.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/include/asm-arm/dma.h linux/include/asm-arm/dma.h
@@ -27,8 +27,6 @@
 	unsigned long length;
 } dmasg_t;
 
-extern const char dma_str[];
-
 extern spinlock_t  dma_spin_lock;
 
 extern __inline__ unsigned long claim_dma_lock(void)
@@ -45,9 +43,6 @@
 
 /* Clear the 'DMA Pointer Flip Flop'.
  * Write 0 for LSB/MSB, 1 for MSB/LSB access.
- *
- * NOTE: This is an architecture specific function, and should
- *       be hidden from the drivers.
  */
 #define clear_dma_ff(channel)
 
@@ -56,10 +51,7 @@
  * NOTE: This is an architecture specific function, and should
  *       be hidden from the drivers
  */
-extern __inline__ void set_dma_page(dmach_t channel, char pagenr)
-{
-	printk(dma_str, "set_dma_page", channel);
-}
+extern void set_dma_page(dmach_t channel, char pagenr);
 
 /* Request a DMA channel
  *

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)