diff options
Diffstat (limited to 'include/asm-arm/memc.h')
-rw-r--r-- | include/asm-arm/memc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/memc.h b/include/asm-arm/memc.h index 820738a29..8eea08635 100644 --- a/include/asm-arm/memc.h +++ b/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 @@ do { \ memc_write (VDMA_INIT, (offset >> 2)); \ } while (0) +#endif |