summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKuo-Jung Su <dantesu@faraday-tech.com>2013-07-10 09:25:48 +0800
committerJoe Hershberger <joe.hershberger@ni.com>2013-08-19 12:34:21 -0500
commit4b7be19920fb3c0a1533ce0bb1905b6de9d71d79 (patch)
tree14abe6d5cce0baf7d7bbf3b3c6bfb5412d5173c5 /drivers
parent102a8cd3eda4e84dcb793cada30b45eea958240d (diff)
downloadu-boot-imx-4b7be19920fb3c0a1533ce0bb1905b6de9d71d79.zip
u-boot-imx-4b7be19920fb3c0a1533ce0bb1905b6de9d71d79.tar.gz
u-boot-imx-4b7be19920fb3c0a1533ce0bb1905b6de9d71d79.tar.bz2
net: ftmac110: struct ftmac110_regs __iomem * -> struct ftmac110_regs *
Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> CC: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ftmac110.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c
index 7be6cb8..7f54092 100644
--- a/drivers/net/ftmac110.c
+++ b/drivers/net/ftmac110.c
@@ -69,7 +69,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;
@@ -98,7 +98,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
@@ -195,7 +195,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);
@@ -268,7 +268,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);
@@ -279,7 +279,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)