changeset 35:2942c5ef76ed

target-utils/libcommon/uartsel.c: nitpick about const
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 25 Oct 2016 22:45:03 +0000
parents 5ae8f6e55371
children 29d0965ebf86
files target-utils/libcommon/uartsel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/libcommon/uartsel.c	Tue Oct 25 08:17:07 2016 +0000
+++ b/target-utils/libcommon/uartsel.c	Tue Oct 25 22:45:03 2016 +0000
@@ -17,7 +17,7 @@
 
 uart_select_init()
 {
-	rom_version = *(u16 *)0x1FFE;
+	rom_version = *(const u16 *)0x1FFE;
 
 	switch (rom_version) {
 	case 0x0200: