# linux-next: build failure after merge of the akpm tree

- From: Stephen Rothwell \<hidden\>
- Date: 2013-09-25 01:06:58 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2013/09/4121934
- Thread: https://ratatoskr.run/linux-next/2013/09/4121934/t.md

```text
Hi Andrew,

After merging the akpm tree, linux-next builds (powerpc allmodconfig)
fail like this:

drivers/tty/ehv_bytechan.c:362:1: error: type defaults to 'int' in declaration of 'console_initcall' [-Werror=implicit-int]

Caused by commit 0f01cf96c2d4 ("./Makefile: enable -Werror=implicit-int
and -Werror=strict-prototypes by default") which has bee in linux-next
since Aug 16.  This commit exposed that fact that
drivers/tty/ehv_bytechan.c can be built as a module, but has a
console_initcall (which is not available to modules).  This was
originally introduced in commit dcd83aaff1c8 ("tty/powerpc: introduce the
ePAPR embedded hypervisor byte channel driver") in v3.2.

Anyone got a good solution?
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
```

## Attachments

- [(unnamed)](https://ratatoskr.run/linuxppc-dev/2013/09/4121934/attachment/0) (application/pgp-signature, 836 bytes)
