patch-2.2.8 linux/include/asm-arm/memc.h

Next file: linux/include/asm-arm/mm-init.h
Previous file: linux/include/asm-arm/leds.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/include/asm-arm/memc.h linux/include/asm-arm/memc.h
@@ -4,6 +4,9 @@
 #define VDMA_START	1
 #define VDMA_END	2
 
+#ifndef __ASSEMBLER__
+extern void memc_write(unsigned int reg, unsigned long val);
+
 #define video_set_dma(start,end,offset)				\
 do {								\
 	memc_write (VDMA_START, (start >> 2));			\
@@ -11,3 +14,4 @@
 	memc_write (VDMA_INIT, (offset >> 2));			\
 } while (0)
 
+#endif

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