]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig]
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 16 Apr 2012 04:52:51 +0000 (00:52 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 18 Apr 2012 22:11:47 +0000 (18:11 -0400)
commita0a495714fc1b8c504fa2fc1259cad93cfe9fe78
tree19b729d8243c5c55abafa24f9156ccdd4bf3b1f7
parent740b2d3017bc8c0c65f4841f65aee0feba479636
powerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig]

The following shows up in chroma_defconfig:

 CC      arch/powerpc/sysdev/scom.o
arch/powerpc/sysdev/scom.c: In function 'scom_debug_init':
arch/powerpc/sysdev/scom.c:182:36: error: 'powerpc_debugfs_root' undeclared (first use in this function)
arch/powerpc/sysdev/scom.c:182:36: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [arch/powerpc/sysdev/scom.o] Error 1
make[1]: *** [arch/powerpc/sysdev/scom.o] Error 2

A bisect leads to commit b0989eeb70fe9f3f069e644310c3c7207e0b637e

    "Remove all #inclusions of asm/system.h"

Add the debug header which contains powerpc_debugfs_root.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/sysdev/scom.c