Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192108
b: refs/heads/master
c: da0122c
h: refs/heads/master
v: v3
  • Loading branch information
Cyril Chemparathy authored and Kevin Hilman committed May 6, 2010
1 parent ed35cc1 commit 97ced1c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c78a5bc2e77e8fc5be29cda5b28c9b9afd0f4b6d
refs/heads/master: da0122ca8b7804b9cd8fa7eff466bafba27f09a3
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-davinci/include/mach/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include <mach/hardware.h>

#define DAVINCI_MAX_NR_UARTS 3
#define DAVINCI_UART0_BASE (IO_PHYS + 0x20000)
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
#define DAVINCI_UART2_BASE (IO_PHYS + 0x20800)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-davinci/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int __init davinci_serial_init(struct davinci_uart_config *info)
* Make sure the serial ports are muxed on at this point.
* You have to mux them off in device drivers later on if not needed.
*/
for (i = 0; i < DAVINCI_MAX_NR_UARTS; i++, p++) {
for (i = 0; p->flags; i++, p++) {
if (!(info->enabled_uarts & (1 << i)))
continue;

Expand Down

0 comments on commit 97ced1c

Please sign in to comment.