Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67454
b: refs/heads/master
c: 483c79d
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Josh Boyer committed Oct 3, 2007
1 parent 782a528 commit 25652ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: a15da8eff3627b8368db7f5dd260e5643213d918
refs/heads/master: 483c79db95b56a9650bd6f0638e7366eb20ffc01
10 changes: 5 additions & 5 deletions trunk/drivers/serial/uartlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define ULITE_CONTROL_IE 0x10


static struct uart_port ports[ULITE_NR_UARTS];
static struct uart_port ulite_ports[ULITE_NR_UARTS];

static int ulite_receive(struct uart_port *port, int stat)
{
Expand Down Expand Up @@ -329,7 +329,7 @@ static void ulite_console_putchar(struct uart_port *port, int ch)
static void ulite_console_write(struct console *co, const char *s,
unsigned int count)
{
struct uart_port *port = &ports[co->index];
struct uart_port *port = &ulite_ports[co->index];
unsigned long flags;
unsigned int ier;
int locked = 1;
Expand Down Expand Up @@ -366,7 +366,7 @@ static int __init ulite_console_setup(struct console *co, char *options)
if (co->index < 0 || co->index >= ULITE_NR_UARTS)
return -EINVAL;

port = &ports[co->index];
port = &ulite_ports[co->index];

/* not initialized yet? */
if (!port->membase)
Expand Down Expand Up @@ -420,7 +420,7 @@ static int __devinit ulite_probe(struct platform_device *pdev)
if (pdev->id < 0 || pdev->id >= ULITE_NR_UARTS)
return -EINVAL;

if (ports[pdev->id].membase)
if (ulite_ports[pdev->id].membase)
return -EBUSY;

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
Expand All @@ -431,7 +431,7 @@ static int __devinit ulite_probe(struct platform_device *pdev)
if (!res2)
return -ENODEV;

port = &ports[pdev->id];
port = &ulite_ports[pdev->id];

port->fifosize = 16;
port->regshift = 2;
Expand Down

0 comments on commit 25652ec

Please sign in to comment.