Patchwork [U-Boot,14/14] sandbox: Change global data baudrate to int

login
register
mail settings
Submitter Simon Glass
Date Oct. 13, 2012, 12:21 a.m.
Message ID <1350087681-16442-15-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/191265/
State Accepted, archived
Delegated to: Tom Rini
Headers show

Comments

Simon Glass - Oct. 13, 2012, 12:21 a.m.
This doesn't need to be a long, so change it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 arch/sandbox/include/asm/global_data.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h
index 581fd2f..78a751d 100644
--- a/arch/sandbox/include/asm/global_data.h
+++ b/arch/sandbox/include/asm/global_data.h
@@ -36,7 +36,7 @@ 
 typedef	struct global_data {
 	bd_t		*bd;
 	unsigned long	flags;
-	unsigned long	baudrate;
+	unsigned int	baudrate;
 	unsigned long	have_console;	/* serial_init() was called */
 	unsigned long	env_addr;	/* Address  of Environment struct */
 	unsigned long	env_valid;	/* Checksum of Environment valid? */