Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185198
b: refs/heads/master
c: 6a2c7ea
h: refs/heads/master
v: v3
  • Loading branch information
Maxime Bizon authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent d88a2d0 commit 7ab32a5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a6d07d14bb5cc83237fb259014c1787ffdb83ccb
refs/heads/master: 6a2c7eabfd09ca7986bf96b8958a87ca041a19d8
5 changes: 3 additions & 2 deletions trunk/drivers/serial/bcm63xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <bcm63xx_regs.h>
#include <bcm63xx_io.h>

#define BCM63XX_NR_UARTS 1
#define BCM63XX_NR_UARTS 2

static struct uart_port ports[BCM63XX_NR_UARTS];

Expand Down Expand Up @@ -784,7 +784,7 @@ static struct uart_driver bcm_uart_driver = {
.dev_name = "ttyS",
.major = TTY_MAJOR,
.minor = 64,
.nr = 1,
.nr = BCM63XX_NR_UARTS,
.cons = BCM63XX_CONSOLE,
};

Expand Down Expand Up @@ -826,6 +826,7 @@ static int __devinit bcm_uart_probe(struct platform_device *pdev)
port->dev = &pdev->dev;
port->fifosize = 16;
port->uartclk = clk_get_rate(clk) / 2;
port->line = pdev->id;
clk_put(clk);

ret = uart_add_one_port(&bcm_uart_driver, port);
Expand Down

0 comments on commit 7ab32a5

Please sign in to comment.