aboutsummaryrefslogtreecommitdiff
path: root/src/target/nds32_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/nds32_reg.h')
-rw-r--r--src/target/nds32_reg.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/target/nds32_reg.h b/src/target/nds32_reg.h
index 52fbf19..8808cd2 100644
--- a/src/target/nds32_reg.h
+++ b/src/target/nds32_reg.h
@@ -15,8 +15,9 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
-#ifndef __NDS32_REG_H__
-#define __NDS32_REG_H__
+
+#ifndef OPENOCD_TARGET_NDS32_REG_H
+#define OPENOCD_TARGET_NDS32_REG_H
#define SRIDX(a, b, c) ((a << 7) | (b << 3) | c)
#define NDS32_REGISTER_DISABLE (0x0)
@@ -321,4 +322,4 @@ const char *nds32_reg_simple_name(uint32_t number);
const char *nds32_reg_symbolic_name(uint32_t number);
bool nds32_reg_exception(uint32_t number, uint32_t value);
-#endif
+#endif /* OPENOCD_TARGET_NDS32_REG_H */