# Re: Build regressions/improvements in v4.7-rc1

- From: Rich Felker \<dalias@libc.org\>
- Date: 2016-06-01 22:18:10 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2016/06/4762690
- Thread: https://ratatoskr.run/linuxppc-dev/2016/05/4759799/t.md

```text
On Mon, May 30, 2016 at 09:34:07AM +0200, Geert Uytterhoeven wrote:
> >   + /home/kisskb/slave/src/arch/sh/kernel/setup.c: error: implicit declaration of function 'early_init_dt_scan' [-Werror=implicit-function-declaration]:  => 256:2
> 
> sh-randconfig

Nice find. I think I'm incorrectly checking for CONFIG_OF in places
that should actually be checking for CONFIG_OF_FLATTREE. Does that
look right to you? Nothing breaks in actual configurations that make
sense now, only if you enable OF manually without selecting
SH_DEVICE_TREE as your board.

If you can confirm that my assessment is correct I'll include a fix in
my (now-late) pull request.

Rich
```
