When compiling kernel with Radeon DRM support but without framebuffer support kernel linking fails with:
drivers/built-in.o: In function `radeonfb_remove': (.text+0x94965): undefined reference to `unregister_framebuffer' drivers/built-in.o: In function `radeonfb_remove': (.text+0x949cb): undefined reference to `framebuffer_release' drivers/built-in.o: In function `radeonfb_create': (.text+0x94dfb): undefined reference to `framebuffer_alloc' drivers/built-in.o: In function `radeonfb_probe': (.text+0x954d0): undefined reference to `register_framebuffer' Add select FB as exists for I915. The selects for FB_CFB_* do not cause their dependency FB to get selected as well. Signed-off-by: Bruno Prémont <bonb...@linux-vserver.org> Reported-by: Alec Ari <neotheu...@ymail.com> --- diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index a74980b..f0c5943 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -38,6 +38,7 @@ config DRM_RADEON select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT + select FB depends on DRM && PCI help Choose this option if you have an ATI Radeon graphics card. There ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel