[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200704101820.47509.srinivasa@in.ibm.com>
Date: Tue, 10 Apr 2007 18:20:47 +0530
From: Srinivasa Ds <srinivasa@...ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, johannes@...solutions.net,
linuxppc-dev@...abs.org, paulus@...ba.org
Subject: [PATCH] Build break on ppc64 for 2.6.21-rc6-mm1
When I tried to compile 2.6.21-rc6-mm1 on ppc64, I got the below error
message.
======================
arch/powerpc/sysdev/timer.c:51: error: variable ‘timer_sysclass’ has
initializer but incomplete type
arch/powerpc/sysdev/timer.c:52: error: unknown field ‘resume’ specified in
initializer
arch/powerpc/sysdev/timer.c:52: warning: excess elements in struct initializer
arch/powerpc/sysdev/timer.c:52: warning: (near initialization
for ‘timer_sysclass’)
arch/powerpc/sysdev/timer.c:53: error: unknown field ‘suspend’ specified in
initializer
arch/powerpc/sysdev/timer.c:53: warning: excess elements in struct initializer
arch/powerpc/sysdev/timer.c:53: warning: (near initialization
for ‘timer_sysclass’)
arch/powerpc/sysdev/timer.c:54: error: unknown field ‘kset’ specified in
initializer
arch/powerpc/sysdev/timer.c:54: error: extra brace group at end of initializer
arch/powerpc/sysdev/timer.c:54: error: (near initialization
for ‘timer_sysclass’)
arch/powerpc/sysdev/timer.c:54: error: extra brace group at end of initializer
arch/powerpc/sysdev/timer.c:54: error: (near initialization
for ‘timer_sysclass’)
arch/powerpc/sysdev/timer.c:54: warning: excess elements in struct initializer
arch/powerpc/sysdev/timer.c:54: warning: (near initialization
for ‘timer_sysclass’)
arch/powerpc/sysdev/timer.c:57: error: variable ‘device_timer’ has initializer
but incomplete type
arch/powerpc/sysdev/timer.c:58: error: unknown field ‘id’ specified in
initializer
arch/powerpc/sysdev/timer.c:58: warning: excess elements in struct initializer
arch/powerpc/sysdev/timer.c:58: warning: (near initialization
for ‘device_timer’)
arch/powerpc/sysdev/timer.c:59: error: unknown field ‘cls’ specified in
initializer
arch/powerpc/sysdev/timer.c:59: warning: excess elements in struct initializer
arch/powerpc/sysdev/timer.c:59: warning: (near initialization
for ‘device_timer’)
arch/powerpc/sysdev/timer.c: In function ‘time_init_device’:
arch/powerpc/sysdev/timer.c:64: warning: implicit declaration of
function ‘sysdev_class_register’
arch/powerpc/sysdev/timer.c:66: warning: implicit declaration of
function ‘sysdev_register’
make[1]: *** [arch/powerpc/sysdev/timer.o] Error 1
make: *** [arch/powerpc/sysdev] Error 2
=======================================
Below patch fixes this problem. please let me know comments on this.
Signed-off-by: Srinivasa Ds <srinivasa@...ibm.com>
View attachment "build.patch" of type "text/x-diff" (438 bytes)
Powered by blists - more mailing lists