Message ID | 1354607640-13229-4-git-send-email-wenyou.yang@atmel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 16d6a83..2e040be 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -188,6 +188,7 @@ struct atmel_spi { spinlock_t lock; + resource_size_t phybase; void __iomem *regs; int irq; struct clk *clk; @@ -961,6 +962,7 @@ static int __devinit atmel_spi_probe(struct platform_device *pdev) as->regs = ioremap(regs->start, resource_size(regs)); if (!as->regs) goto out_free_buffer; + as->phybase = regs->start; as->irq = irq; as->clk = clk;