Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353708
b: refs/heads/master
c: 93316e2
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 25, 2013
1 parent f507de1 commit 93205ec
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: 903b33e0292465ebe9705a70084bf9ad06a8a2a5
refs/heads/master: 93316e263a321de6ef268a2a66c322626bd65cf1
7 changes: 4 additions & 3 deletions trunk/drivers/ata/pata_ep93xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Copyright (C) 2006 Tower Technologies
*/

#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
Expand Down Expand Up @@ -937,9 +938,9 @@ static int ep93xx_pata_probe(struct platform_device *pdev)
goto err_rel_gpio;
}

ide_base = devm_request_and_ioremap(&pdev->dev, mem_res);
if (!ide_base) {
err = -ENXIO;
ide_base = devm_ioremap_resource(&pdev->dev, mem_res);
if (IS_ERR(ide_base)) {
err = PTR_ERR(ide_base);
goto err_rel_gpio;
}

Expand Down

0 comments on commit 93205ec

Please sign in to comment.