• Andrew Morton's avatar
    [PATCH] nv_of.c build fix · c53ca784
    Andrew Morton authored
    drivers/video/nvidia/nv_of.c:33: error: redefinition of `nvidia_probe_of_connector'
    drivers/video/nvidia/nv_proto.h:51: error: `nvidia_probe_of_connector' previously defined here
    
    Because the inline version depends on !CONFIG_FB_OF and the out-of-line
    version depends on CONFIG_PPC_OF.
    
    Ben said: "Yes, CONFIG_PPC_OF is the right one, must be a typo."
    
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    C: "Antonino A. Daplas" <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c53ca784
nv_proto.h 2.48 KB