drivers/video/nvidia/ compile error with PPC_OF=y, FB_OF=n

From: Adrian Bunk
Date: Fri Nov 11 2005 - 23:19:28 EST


I got the following compile error in 2.6.14-mm2 that seems to come from
Linus' tree:

<-- snip -->

...
CC [M] drivers/video/nvidia/nv_of.o
drivers/video/nvidia/nv_of.c:33: error: redefinition of 'nvidia_probe_of_connector'
drivers/video/nvidia/nv_proto.h:51: error: previous definition of 'nvidia_probe_of_connector' was here
make[3]: *** [drivers/video/nvidia/nv_of.o] Error 1

<-- snip -->

The problem is that nv_proto.h thinks nv_of.o is only built with
CONFIG_FB_OF=y, but it's actually built when CONFIG_PPC_OF=y.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/