diff options
Diffstat (limited to 'arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c')
-rw-r--r-- | arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c b/arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c index 3086dd80fa..13ad7424c0 100644 --- a/arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c +++ b/arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c @@ -29,19 +29,19 @@ u32 rmobile_get_cpu_type(void) u32 type; struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; - id = readl(hpb->cccr); + id = readl(&hpb->cccr); type = (id >> 8) & 0xFF; return type; } -u32 get_cpu_rev(void) +u32 rmobile_get_cpu_rev(void) { u32 id; u32 rev; struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; - id = readl(hpb->cccr); + id = readl(&hpb->cccr); rev = (id >> 4) & 0xF; return rev; |