Re: 2.6.10-rc1-mm3: drm_ati_pcigart_{init,cleanup} multiple definition

Dave Airlie
2004-11-05T17:19:33Z

> ...
> LD drivers/char/drm/built-in.o
> drivers/char/drm/radeon.o(.text+0x120): In function `drm_ati_pcigart_init':
> : multiple definition of `drm_ati_pcigart_init'
> drivers/char/drm/r128.o(.text+0x120): first defined here
> drivers/char/drm/radeon.o(.text+0x350): In function `drm_ati_pcigart_cleanup':
> : multiple definition of `drm_ati_pcigart_cleanup'
> drivers/char/drm/r128.o(.text+0x350): first defined here
> make[3]: *** [drivers/char/drm/built-in.o] Error 1

The latest drm-2.6 tree avoids this I'm working with Jon to see if this
solution is suitable..

It is a leftover from the templated tree, building into the kernel wasn't
noticed until my merge....

Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person