diff options
Diffstat (limited to 'arch/nios2/cpu/cpu.c')
-rw-r--r-- | arch/nios2/cpu/cpu.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c index e7ca9882fc..7f5e731a0f 100644 --- a/arch/nios2/cpu/cpu.c +++ b/arch/nios2/cpu/cpu.c @@ -79,8 +79,7 @@ int arch_cpu_init_dm(void) return 0; } -static int altera_nios2_get_desc(const struct udevice *dev, char *buf, - int size) +static int altera_nios2_get_desc(struct udevice *dev, char *buf, int size) { const char *cpu_name = "Nios-II"; @@ -91,8 +90,7 @@ static int altera_nios2_get_desc(const struct udevice *dev, char *buf, return 0; } -static int altera_nios2_get_info(const struct udevice *dev, - struct cpu_info *info) +static int altera_nios2_get_info(struct udevice *dev, struct cpu_info *info) { info->cpu_freq = gd->cpu_clk; info->features = (1 << CPU_FEAT_L1_CACHE) | @@ -101,7 +99,7 @@ static int altera_nios2_get_info(const struct udevice *dev, return 0; } -static int altera_nios2_get_count(const struct udevice *dev) +static int altera_nios2_get_count(struct udevice *dev) { return 1; } |