Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365247
b: refs/heads/master
c: cbfd6a2
h: refs/heads/master
i:
  365245: 7a972f2
  365243: 57ad583
  365239: 2cd2bbf
  365231: 10d9e9f
  365215: 5c46b22
  365183: 854ae2f
v: v3
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Apr 8, 2013
1 parent d6a375a commit 9061a8e
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: f333a331adfacf8c7a9dbf7e5f72b10a0356156b
refs/heads/master: cbfd6a21b6fae968d10374bc5913823573b517ef
9 changes: 4 additions & 5 deletions trunk/drivers/spi/spi-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/device.h>
#include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/spi/pxa2xx_spi.h>
Expand Down Expand Up @@ -1088,11 +1089,9 @@ pxa2xx_spi_acpi_get_pdata(struct platform_device *pdev)
ssp = &pdata->ssp;

ssp->phys_base = res->start;
ssp->mmio_base = devm_request_and_ioremap(&pdev->dev, res);
if (!ssp->mmio_base) {
dev_err(&pdev->dev, "failed to ioremap mmio_base\n");
return NULL;
}
ssp->mmio_base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(ssp->mmio_base))
return PTR_ERR(ssp->mmio_base);

ssp->clk = devm_clk_get(&pdev->dev, NULL);
ssp->irq = platform_get_irq(pdev, 0);
Expand Down

0 comments on commit 9061a8e

Please sign in to comment.