mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
MIPS: constify mips_io_port_base
mips_io_port_base is exported as 'extern const unsigned long mips_io_port_base;' in arch/mips/include/asm/io.h. Thus make the variable const too. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
parent
ea40a05422
commit
f0c27993e4
@ -46,7 +46,7 @@ static char *failed = "*** failed ***\n";
|
|||||||
* mips_io_port_base is the begin of the address space to which x86 style
|
* mips_io_port_base is the begin of the address space to which x86 style
|
||||||
* I/O ports are mapped.
|
* I/O ports are mapped.
|
||||||
*/
|
*/
|
||||||
unsigned long mips_io_port_base = -1;
|
const unsigned long mips_io_port_base = -1;
|
||||||
|
|
||||||
int __board_early_init_f(void)
|
int __board_early_init_f(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user