Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353678
b: refs/heads/master
c: eb612fa
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 22, 2013
1 parent c484844 commit ec43983
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 97f4be60178fec663baaa30a09ae102fd33373c2
refs/heads/master: eb612fa013ca07b954300fa46b1499248cedf926
8 changes: 4 additions & 4 deletions trunk/drivers/tty/serial/sccnxp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#define SUPPORT_SYSRQ
#endif

#include <linux/err.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/console.h>
Expand Down Expand Up @@ -875,10 +876,9 @@ static int sccnxp_probe(struct platform_device *pdev)
goto err_out;
}

membase = devm_request_and_ioremap(&pdev->dev, res);
if (!membase) {
dev_err(&pdev->dev, "Failed to ioremap\n");
ret = -EIO;
membase = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(membase)) {
ret = PTR_ERR(membase);
goto err_out;
}

Expand Down

0 comments on commit ec43983

Please sign in to comment.