Skip to content

Commit

Permalink
[bug] fix warning: "SUNXI_DMA_BASE" redefined
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Dec 15, 2023
1 parent c6d7c81 commit 0db3903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/reg/reg-dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#ifndef __REG_DMA_H__
#define __REG_DMA_H__

#define SUNXI_DMA_BASE 0x03002000
#include <reg-ncat.h>

#define SUNXI_DMA_CHANNEL_BASE (SUNXI_DMA_BASE + 0x100)
#define DMA_AUTO_GATE_REG (SUNXI_DMA_BASE + 0x28)

Expand Down

0 comments on commit 0db3903

Please sign in to comment.