forked from luck/tmp_suning_uos_patched
ARM: at91: remove trailing semicolon from macros
Remove trailing semicolon from register-access macros. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
parent
95f287e5a1
commit
3aa630b3e6
|
@ -23,7 +23,7 @@ extern void __iomem *at91_rstc_base;
|
|||
__raw_readl(at91_rstc_base + field)
|
||||
|
||||
#define at91_rstc_write(field, value) \
|
||||
__raw_writel(value, at91_rstc_base + field);
|
||||
__raw_writel(value, at91_rstc_base + field)
|
||||
#else
|
||||
.extern at91_rstc_base
|
||||
#endif
|
||||
|
|
|
@ -23,7 +23,7 @@ extern void __iomem *at91_shdwc_base;
|
|||
__raw_readl(at91_shdwc_base + field)
|
||||
|
||||
#define at91_shdwc_write(field, value) \
|
||||
__raw_writel(value, at91_shdwc_base + field);
|
||||
__raw_writel(value, at91_shdwc_base + field)
|
||||
#endif
|
||||
|
||||
#define AT91_SHDW_CR 0x00 /* Shut Down Control Register */
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
__raw_readl(AT91_IO_P2V(AT91_TC) + field)
|
||||
|
||||
#define at91_tc_write(field, value) \
|
||||
__raw_writel(value, AT91_IO_P2V(AT91_TC) + field);
|
||||
__raw_writel(value, AT91_IO_P2V(AT91_TC) + field)
|
||||
|
||||
/*
|
||||
* 3 counter/timer units present.
|
||||
|
|
|
@ -14,7 +14,7 @@ extern void __iomem *at91_matrix_base;
|
|||
__raw_readl(at91_matrix_base + field)
|
||||
|
||||
#define at91_matrix_write(field, value) \
|
||||
__raw_writel(value, at91_matrix_base + field);
|
||||
__raw_writel(value, at91_matrix_base + field)
|
||||
|
||||
#else
|
||||
.extern at91_matrix_base
|
||||
|
|
|
@ -23,7 +23,7 @@ extern void __iomem *at91_st_base;
|
|||
__raw_readl(at91_st_base + field)
|
||||
|
||||
#define at91_st_write(field, value) \
|
||||
__raw_writel(value, at91_st_base + field);
|
||||
__raw_writel(value, at91_st_base + field)
|
||||
#else
|
||||
.extern at91_st_base
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user