Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364206
b: refs/heads/master
c: 84e8192
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 6ff269d commit 08ba864
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 19ffd68f816878aed456d5e87697f43bd9e3bd2b
refs/heads/master: 84e819220468e989a0dde33bf1121888c5e749b1
9 changes: 4 additions & 5 deletions trunk/drivers/tty/serial/serial-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/module.h>
Expand Down Expand Up @@ -1301,11 +1302,9 @@ static int tegra_uart_probe(struct platform_device *pdev)
}

u->mapbase = resource->start;
u->membase = devm_request_and_ioremap(&pdev->dev, resource);
if (!u->membase) {
dev_err(&pdev->dev, "memregion/iomap address req failed\n");
return -EADDRNOTAVAIL;
}
u->membase = devm_ioremap_resource(&pdev->dev, resource);
if (IS_ERR(u->membase))
return PTR_ERR(u->membase);

tup->uart_clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(tup->uart_clk)) {
Expand Down

0 comments on commit 08ba864

Please sign in to comment.