2003-05-20 19:07:57

by Miles T Lane

[permalink] [raw]
Subject: 2.5.69-bk14 (PPC build) -- drivers/char/agp/uninorth-agp.c:283: unknown field `suspend' specified in initializer

Gnu C 3.2.2
Gnu make 3.80
util-linux 2.11x
mount 2.11x
e2fsprogs 1.32
pcmcia-cs 3.2.3
PPP 2.4.1
Linux C Library 2.3.1
Dynamic linker (ldd) 2.3.1
Procps 3.1.6
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 4.5.7

make -f scripts/Makefile.build obj=drivers/char/agp
gcc -Wp,-MD,drivers/char/agp/.uninorth-agp.o.d
-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes
-Wno-tr
igraphs -O2 -fno-strict-aliasing -fno-common
-Iarch/ppc -msoft-float -pipe -ffixed-r2
-Wno-uninitialized
-mmultiple -mstring -fomit-frame-pointer -nostdinc
-iwithprefix include -DKBUILD_BASENAME=uninorth_agp
-DKBUILD_MODNAME=uninorth_agp -c -o
drivers/char/agp/uninorth-agp.o
drivers/char/agp/uninorth-agp.c
drivers/char/agp/uninorth-agp.c:283: unknown field
`suspend' specified in initializer
drivers/char/agp/uninorth-agp.c:283:
`agp_generic_suspend' undeclared here (not in a
function)
drivers/char/agp/uninorth-agp.c:283: warning: excess
elements in struct initializer
drivers/char/agp/uninorth-agp.c:283: warning: (near
initialization for `uninorth_agp_driver')
drivers/char/agp/uninorth-agp.c:284: unknown field
`resume' specified in initializer
drivers/char/agp/uninorth-agp.c:284:
`agp_generic_resume' undeclared here (not in a
function)
drivers/char/agp/uninorth-agp.c:284: warning: excess
elements in struct initializer
drivers/char/agp/uninorth-agp.c:284: warning: (near
initialization for `uninorth_agp_driver')
make[3]: *** [drivers/char/agp/uninorth-agp.o] Error 1


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


2003-05-20 21:19:47

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.69-bk14 (PPC build) -- drivers/char/agp/uninorth-agp.c:283: unknown field `suspend' specified in initializer

On Tue, May 20, 2003 at 12:20:51PM -0700, Miles T Lane wrote:
> drivers/char/agp/uninorth-agp.c:283: unknown field
> `suspend' specified in initializer
> drivers/char/agp/uninorth-agp.c:283:
> `agp_generic_suspend' undeclared here (not in a function)

Just kill the .suspend and .resume members of that structure.

Dave