[PATCH 10/11] smc91111: switch to resources
Sascha Hauer
s.hauer at pengutronix.de
Thu Jul 28 09:42:03 EDT 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/net/smc91111.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c
index 535e69a..1c1ffea 100644
--- a/drivers/net/smc91111.c
+++ b/drivers/net/smc91111.c
@@ -1317,7 +1317,7 @@ static int smc91c111_probe(struct device_d *dev)
priv->miidev.address = 0;
priv->miidev.flags = 0;
priv->miidev.edev = edev;
- priv->base = IOMEM(dev->map_base);
+ priv->base = dev_request_mem_region(dev, 0);
smc91c111_reset(edev);
--
1.7.5.4
More information about the barebox
mailing list