Skip to content

Commit

Permalink
Use 'unsigned int' for global_data's baudrate
Browse files Browse the repository at this point in the history
We decided to used unsigned int here, rather than unsigned long. But
for the generic global_data it is still unsigned long. So change it
over.

Signed-off-by: Simon Glass <sjg@chromium.org>
  • Loading branch information
sjg20 authored and trini committed Mar 15, 2013
1 parent 68794b9 commit b5bec88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/global_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
typedef struct global_data {
bd_t *bd;
unsigned long flags;
unsigned long baudrate;
unsigned int baudrate;
unsigned long cpu_clk; /* CPU clock in Hz! */
unsigned long bus_clk;
/* We cannot bracket this with CONFIG_PCI due to mpc5xxx */
Expand Down

0 comments on commit b5bec88

Please sign in to comment.