[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110610160938.cd01c408.sfr@canb.auug.org.au>
Date: Fri, 10 Jun 2011 16:09:38 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Greg KH <greg@...ah.com>
Cc: brudley@...adcom.com, henryp@...adcom.com, rvossen@...adcom.com,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus <torvalds@...ux-foundation.org>
Subject: Re: linux-next: build failure after merge of the final tree
(staging related)
Hi Greg,
On Fri, 10 Jun 2011 16:05:48 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> No, I still get these:
>
> In file included from drivers/staging/comedi/drivers/addi_apci_035.c:7:0:
> drivers/staging/comedi/drivers/addi-data/addi_common.c: In function 'i_ADDI_Attach':
> drivers/staging/comedi/drivers/addi-data/addi_common.c:2765:7: error: implicit declaration of function 'virt_to_bus'
>
> virt_to_bus is only defined for 32 bit powerpc (not 64 bit) (and maybe
> not at all on some architectures e.g. sparc).
>
> From Documentation/DMA-API-HOWTO.txt:
> "All drivers should be using these interfaces with no exceptions. It
> is planned to completely remove virt_to_bus() and bus_to_virt() as
> they are entirely deprecated. Some ports already do not provide these
> as it is impossible to correctly support them."
Drivers that use virt_to_bus should Kconfig depend on VIRT_TO_BUS.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists