summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-19 03:24:16 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-23 13:52:18 +0800
commit75a31ab8ded2c12b1543b4bc184570feb151eb2d (patch)
treea20331bdaa1fd16cc8463c87543af50e0225065b /drivers/ata
parent4c542622cb07354c410680e0a6782508179f9e5f (diff)
downloadbarebox-75a31ab8ded2c12b1543b4bc184570feb151eb2d.tar.gz
barebox-75a31ab8ded2c12b1543b4bc184570feb151eb2d.tar.xz
ata/bios: convert to struct resource
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/bios.c b/drivers/ata/bios.c
index 3f419ccf27..6e2377c7ea 100644
--- a/drivers/ata/bios.c
+++ b/drivers/ata/bios.c
@@ -257,7 +257,7 @@ static int biosdisk_probe(struct device_d *dev)
strcpy(drive_dev->name, "biosdisk");
drive_dev->id = drive - 0x80;
- drive_dev->map_base = 0;
+ drive_dev->resource[0].start = 0;
drive_dev->platform_data = p;
register_device(drive_dev);