Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364207
b: refs/heads/master
c: 82b2313
h: refs/heads/master
i:
  364205: 6ff269d
  364203: 4a1ce2e
  364199: 1b2b42d
  364191: 2b8827c
v: v3
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 08ba864 commit 909aadf
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 84e819220468e989a0dde33bf1121888c5e749b1
refs/heads/master: 82b231323e419dcd61de9ff38d66dd7e82564594
7 changes: 4 additions & 3 deletions trunk/drivers/tty/serial/vt8500_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/err.h>

/*
* UART Register offsets
Expand Down Expand Up @@ -585,9 +586,9 @@ static int vt8500_serial_probe(struct platform_device *pdev)
if (!vt8500_port)
return -ENOMEM;

vt8500_port->uart.membase = devm_request_and_ioremap(&pdev->dev, mmres);
if (!vt8500_port->uart.membase)
return -EADDRNOTAVAIL;
vt8500_port->uart.membase = devm_ioremap_resource(&pdev->dev, mmres);
if (IS_ERR(vt8500_port->uart.membase))
return PTR_ERR(vt8500_port->uart.membase);

vt8500_port->clk = of_clk_get(pdev->dev.of_node, 0);
if (IS_ERR(vt8500_port->clk)) {
Expand Down

0 comments on commit 909aadf

Please sign in to comment.