Searched hist:"80793 db9091b40cf0078568bb5359be0e7f43e89" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/sandbox/include/asm/ |
| H A D | io.h | 80793db9091b40cf0078568bb5359be0e7f43e89 Sat Oct 01 20:42:33 UTC 2016 Simon Glass <sjg@chromium.org> sandbox: Use the address in readl/writel() functions
At present these functions do not touch addr, which can raising warnings about unused variables.
This fixes the following warnings:
sandbox_spl defconfig drivers/core/regmap.c: In function ‘regmap_read’: drivers/core/regmap.c:125:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE); ^ drivers/core/regmap.c: In function ‘regmap_write’: drivers/core/regmap.c:134:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE);
Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 3bfb8cb4 (dm: regmap: Implement simple regmap_read & regmap_write)
|