Subject: Re: linux-next: build failure after merge of the wireless tree

From: Luciano Coelho <[email-masked]>
Date: Wed, 10 Mar 2010 13:19:53 +0200

On Wed, 2010-03-10 at 06:53 +0100, Oikarinen Juuso (Nokia-D/Tampere)
wrote:
> Thinking about it, the assumption is correct. The implementation can
> currently work only on ARM, as the wl1271 requires and out-of-band IRQ
> line which is currently implemented with GPIO's.
> 
> -Juuso
> 
> On Wed, 2010-03-10 at 04:36 +0100, ext Stephen Rothwell wrote:
> > Hi John,
> > 
> > After merging the wireless tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > drivers/net/wireless/wl12xx/wl1271_sdio.c:31:23: error: plat/gpio.h: No such file or directory
> > drivers/net/wireless/wl12xx/wl1271_sdio.c: In function 'wl1271_sdio_raw_read':
> > drivers/net/wireless/wl12xx/wl1271_sdio.c:121: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
> > drivers/net/wireless/wl12xx/wl1271_sdio.c: In function 'wl1271_sdio_raw_write':
> > drivers/net/wireless/wl12xx/wl1271_sdio.c:144: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
> > drivers/net/wireless/wl12xx/wl1271_sdio.c: In function 'wl1271_probe':
> > drivers/net/wireless/wl12xx/wl1271_sdio.c:198: error: implicit declaration of function 'gpio_to_irq'
> > 
> > Caused by commit 5129dffebd4eab1749e63bb4a1b7abdc92903227 ("wl1271:
> > Initial SDIO implementation").  I assume this is only meant to be built
> > for arm?

I'll send a patch to fix this problem soon.  Sorry for the trouble.

-- 
Cheers,
Luca.