From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 12.mo3.mail-out.ovh.net ([188.165.41.191] helo=mo3.mail-out.ovh.net) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Ql0GE-0002x5-Qv for barebox@lists.infradead.org; Sun, 24 Jul 2011 15:06:33 +0000 Received: from mail191.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 3D805FFA30F for ; Sun, 24 Jul 2011 17:07:15 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 24 Jul 2011 16:49:07 +0200 Message-Id: <1311518949-6990-10-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <20110724144441.GA10295@game.jcrosoft.org> References: <20110724144441.GA10295@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 10/12] ata/bios: convert to struct resource To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/ata/bios.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ata/bios.c b/drivers/ata/bios.c index 3f419cc..6e2377c 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); -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox