[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2014 19:45:36 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Greg KH <greg@...ah.com>, Arnd Bergmann <arnd@...db.de>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Johannes Thumshirn <johannes.thumshirn@....de>
Subject: linux-next: build failure after merge of the final tree (char-misc
tree related)
Hi all,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/iio/adc/men_z188_adc.c: In function 'z188_iio_read_raw':
drivers/iio/adc/men_z188_adc.c:61:3: error: implicit declaration of function 'readw' [-Werror=implicit-function-declaration]
tmp = readw(adc->base + chan->channel * 4);
^
drivers/iio/adc/men_z188_adc.c: In function 'men_z188_config_channels':
drivers/iio/adc/men_z188_adc.c:91:2: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
ctl = readl(addr + Z188_CTRL_REG);
^
drivers/iio/adc/men_z188_adc.c:93:2: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]
writel(ctl, addr + Z188_CTRL_REG);
^
drivers/iio/adc/men_z188_adc.c: In function 'men_z188_probe':
drivers/iio/adc/men_z188_adc.c:126:2: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
adc->base = ioremap(mem->start, resource_size(mem));
^
drivers/iio/adc/men_z188_adc.c:126:12: warning: assignment makes pointer from integer without a cast [enabled by default]
adc->base = ioremap(mem->start, resource_size(mem));
^
drivers/iio/adc/men_z188_adc.c: In function 'men_z188_remove':
drivers/iio/adc/men_z188_adc.c:148:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(adc->base);
^
Caused by commit 74aeac4da66f ("iio: adc: Add MEN 16z188 ADC driver")
from the char-misc tree. Need to include linux/io.h, I think.
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists