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@xxxxxxxxxxxxxxxx
Attachment:
pgpa1HJSB2MJk.pgp
Description: PGP signature