mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
riscv: checkpatch: Fix use of volatile
It is reported by checkpatch.pl WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com>
This commit is contained in:
parent
bc0818a6a9
commit
40717eb849
@ -17,6 +17,6 @@ struct arch_global_data {
|
|||||||
|
|
||||||
#include <asm-generic/global_data.h>
|
#include <asm-generic/global_data.h>
|
||||||
|
|
||||||
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("gp")
|
#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp")
|
||||||
|
|
||||||
#endif /* __ASM_GBL_DATA_H */
|
#endif /* __ASM_GBL_DATA_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user