Re: [PATCH] gma500: fix build error indrivers/staging/gma500/gem_glue.c

From: Greg KH
Date: Sat Aug 06 2011 - 15:06:13 EST


On Sun, Aug 07, 2011 at 02:52:07AM +0800, stufever@xxxxxxxxx wrote:
> From: Wang Shaoyan <wangshaoyan.pt@xxxxxxxxxx>
>
> LD drivers/built-in.o
> drivers/staging/built-in.o: In function 'drm_gem_private_object_init':
> /home/stufever/linux-2.6/drivers/staging/gma500/gem_glue.c:30: multiple definition of 'drm_gem_private_object_init'
> drivers/gpu/built-in.o:/home/stufever/linux-2.6/drivers/gpu/drm/drm_gem.c:160: first defined here
> make[1]: *** [drivers/built-in.o] Error 1
> make: *** [drivers] Error 2
>
> The function drm_gem_private_object_init had been EXPORT_SYMBOL at drivers/gpu/drm/drm_gem.c, so delete repeated code.
>
> Signed-off-by: Wang Shaoyan <wangshaoyan.pt@xxxxxxxxxx>

Thanks, but this is already in linux-next and will be sent to Linus
after 3.2-rc1 is out.

thanks,

greg k-h
--
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/