Patchwork [U-Boot,v2,2/3] net: ftmac110: struct ftmac110_regs __iomem * -> struct ftmac110_regs *

login
register
mail settings
Submitter Kuo-Jung Su
Date July 10, 2013, 1:25 a.m.
Message ID <1373419549-3410-3-git-send-email-dantesu@gmail.com>
Download mbox | patch
Permalink /patch/257951/
State Accepted
Delegated to: Joe Hershberger
Headers show

Comments

Kuo-Jung Su - July 10, 2013, 1:25 a.m.
From: Kuo-Jung Su <dantesu@faraday-tech.com>

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Joe Hershberger <joe.hershberger@gmail.com>
---
 drivers/net/ftmac110.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--
1.7.9.5
Joe Hershberger - Aug. 19, 2013, 5:58 p.m.
On Tue, Jul 9, 2013 at 8:25 PM, Kuo-Jung Su <dantesu@gmail.com> wrote:
> From: Kuo-Jung Su <dantesu@faraday-tech.com>
>
> Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
> CC: Joe Hershberger <joe.hershberger@gmail.com>
> ---

Applied, Thanks!
-Joe

Patch

diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c
index c7d45e1..1afd95a 100644
--- a/drivers/net/ftmac110.c
+++ b/drivers/net/ftmac110.c
@@ -81,7 +81,7 @@  static uint16_t mdio_read(struct eth_device *dev,
 	uint8_t phyaddr, uint8_t phyreg)
 {
 	struct ftmac110_chip *chip = dev->priv;
-	struct ftmac110_regs __iomem *regs = chip->regs;
+	struct ftmac110_regs *regs = chip->regs;
 	uint32_t tmp, ts;
 	uint16_t ret = 0xffff;

@@ -110,7 +110,7 @@  static void mdio_write(struct eth_device *dev,
 	uint8_t phyaddr, uint8_t phyreg, uint16_t phydata)
 {
 	struct ftmac110_chip *chip = dev->priv;
-	struct ftmac110_regs __iomem *regs = chip->regs;
+	struct ftmac110_regs *regs = chip->regs;
 	uint32_t tmp, ts;

 	tmp = PHYCR_WRITE
@@ -207,7 +207,7 @@  static int ftmac110_reset(struct eth_device *dev)
 	uint8_t *a;
 	uint32_t i, maccr;
 	struct ftmac110_chip *chip = dev->priv;
-	struct ftmac110_regs __iomem *regs = chip->regs;
+	struct ftmac110_regs *regs = chip->regs;

 	/* 1. MAC reset */
 	writel(MACCR_RESET, &regs->maccr);
@@ -280,7 +280,7 @@  static int ftmac110_probe(struct eth_device *dev, bd_t *bis)
 static void ftmac110_halt(struct eth_device *dev)
 {
 	struct ftmac110_chip *chip = dev->priv;
-	struct ftmac110_regs __iomem *regs = chip->regs;
+	struct ftmac110_regs *regs = chip->regs;

 	writel(0, &regs->imr);
 	writel(0, &regs->maccr);
@@ -291,7 +291,7 @@  static void ftmac110_halt(struct eth_device *dev)
 static int ftmac110_send(struct eth_device *dev, void *pkt, int len)
 {
 	struct ftmac110_chip *chip = dev->priv;
-	struct ftmac110_regs __iomem *regs = chip->regs;
+	struct ftmac110_regs *regs = chip->regs;
 	struct ftmac110_txd *des;

 	if (!chip->lnkup)