[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140305173559.0b50971a1ab88a16bee8819c@canb.auug.org.au>
Date: Wed, 5 Mar 2014 17:35:59 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Fabian Vogt <fabian@...ter-vogt.de>
Subject: linux-next: build failure after merge of the final tree (gpio tree
related)
Hi all,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/gpio/gpio-zevio.c: In function 'zevio_gpio_port_get':
drivers/gpio/gpio-zevio.c:70:2: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]
return readl(IOMEM(c->chip.regs + section_offset + port_offset));
^
drivers/gpio/gpio-zevio.c:70:2: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [enabled by default]
In file included from include/linux/io.h:22:0,
from drivers/gpio/gpio-zevio.c:15:
arch/powerpc/include/asm/io-defs.h:6:16: note: expected 'const volatile void *' but argument is of type 'int'
DEF_PCI_AC_RET(readl, u32, (const PCI_IO_ADDR addr), (addr), mem, addr)
^
arch/powerpc/include/asm/io.h:577:19: note: in definition of macro 'DEF_PCI_AC_RET'
static inline ret name at \
^
drivers/gpio/gpio-zevio.c: In function 'zevio_gpio_port_set':
drivers/gpio/gpio-zevio.c:77:2: warning: passing argument 2 of 'writel' makes pointer from integer without a cast [enabled by default]
writel(val, IOMEM(c->chip.regs + section_offset + port_offset));
^
In file included from include/linux/io.h:22:0,
from drivers/gpio/gpio-zevio.c:15:
arch/powerpc/include/asm/io-defs.h:11:18: note: expected 'volatile void *' but argument is of type 'int'
DEF_PCI_AC_NORET(writel, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr)
^
arch/powerpc/include/asm/io.h:585:20: note: in definition of macro 'DEF_PCI_AC_NORET'
static inline void name at \
^
Caused by commit 9af4d80ba566 ("gpio: New driver for LSI ZEVIO SoCs").
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