linux-mips
[Top] [All Lists]

Re: [PATCH] Au1200: IDE driver build fix

To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: [PATCH] Au1200: IDE driver build fix
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Tue, 15 Apr 2008 22:55:15 +0200
Cc: linux-ide@vger.kernel.org, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=L8BW2XOggRiNzdKnAOii+dVtlR/IcizVGaoe/gkgte0=; b=qOej/3/c6bvwppNDe2AN/AsCbUCrqMIAu+DnHUXYCRQTCZ07OCWQzC8SWFgr5kDONj2d1bEORlZp7OFRik0LhkeBYfNL/E9oat/0W5cBMGS+vqIPKF4/OxaNwQDSheFn+zzQc4qS4UkzbhpCs85w1KpJ9msCRNBl8S/JpFtaA+M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=BddKWju2d6Tmt7+kiDdsWPwBuSEJWfCh1ZVkaP8fi2Ia91ZAzLiFoJogBanZIbH9pwMRLvi0fLzPijfC5CwtvkBxqNRGzqtronxOfdZa9KoFKNFHRLvx6EJABc7LNtkD+3GZ44I6Bohpd9fJB5zajLiX3KvymxdqgMWFqo4BlMc=
In-reply-to: <200804142303.04661.sshtylyov@ru.mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200804142303.04661.sshtylyov@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
On Monday 14 April 2008, Sergei Shtylyov wrote:
> The driver fails to compile with CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA 
> enabled:
> 
> drivers/ide/mips/au1xxx-ide.c: In function `auide_build_dmatable':
> drivers/ide/mips/au1xxx-ide.c:256: error: implicit declaration of function
> `sg_virt'
> drivers/ide/mips/au1xxx-ide.c:275: error: implicit declaration of function
> `sg_next'
> drivers/ide/mips/au1xxx-ide.c:275: warning: assignment makes pointer from
> integer without a cast
> 
> Fix this by including <linux/scatterlist.h>. While at it, remove the 
> #include's
> without which the driver happily builds.
> 
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

applied

<Prev in Thread] Current Thread [Next in Thread>