Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47258
b: refs/heads/master
c: b81831c
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent 2fbbcb1 commit d39e0fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f2e97df669d32f74152336f46e4e0e328b993c57
refs/heads/master: b81831c69afb82c0545d3de729290fab4e50d429
6 changes: 3 additions & 3 deletions trunk/drivers/serial/uartlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static void ulite_release_port(struct uart_port *port)
{
release_mem_region(port->mapbase, ULITE_REGION);
iounmap(port->membase);
port->membase = 0;
port->membase = NULL;
}

static int ulite_request_port(struct uart_port *port)
Expand Down Expand Up @@ -438,7 +438,7 @@ static int __devinit ulite_probe(struct platform_device *pdev)
port->iotype = UPIO_MEM;
port->iobase = 1; /* mark port in use */
port->mapbase = res->start;
port->membase = 0;
port->membase = NULL;
port->ops = &ulite_ops;
port->irq = res2->start;
port->flags = UPF_BOOT_AUTOCONF;
Expand All @@ -462,7 +462,7 @@ static int ulite_remove(struct platform_device *pdev)
uart_remove_one_port(&ulite_uart_driver, port);

/* mark port as free */
port->membase = 0;
port->membase = NULL;

return 0;
}
Expand Down

0 comments on commit d39e0fc

Please sign in to comment.