Bug 10870
Summary: | radeonfb backlight config mismatch | ||
---|---|---|---|
Product: | Drivers | Reporter: | Gokdeniz Karadag (gokdenizk) |
Component: | Console/Framebuffers | Assignee: | James Simmons (jsimmons) |
Status: | CLOSED CODE_FIX | ||
Severity: | low | CC: | akpm, alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.25.4 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
patch for CONFIG_PMAC_BACKLIGHT->CONFIG_FB_RADEON_BACKLIGHT
.config for 2.6.29 |
Description
Gokdeniz Karadag
2008-06-06 03:47:44 UTC
Please email me a patch? Created attachment 16411 [details]
patch for CONFIG_PMAC_BACKLIGHT->CONFIG_FB_RADEON_BACKLIGHT
generated this patch on Linus' latest tree
Current kernel builds fine with radeonfb and no radeonfb backlight When I try to compile without radeon backlight support. I get the following error. When I apply the one-liner patch I provided the error is gone. The patch attached to this report. http://bugzilla.kernel.org/attachment.cgi?id=16411 The error message before the patch with radeon framebuffer backlight disabled drivers/built-in.o: In function `radeonfb_pci_register': radeon_base.c:(.devinit.text+0x35c3): undefined reference to `radeonfb_bl_init' drivers/built-in.o: In function `radeonfb_pci_unregister': radeon_base.c:(.devexit.text+0xa0): undefined reference to `radeonfb_bl_exit' If I enable radeon framebuffer backlight before applying the patch, I get this error. drivers/built-in.o: In function `radeonfb_bl_init': (.text+0x517f3): undefined reference to `fb_bl_default_curve' I'm attaching my .config. Created attachment 22122 [details] .config for 2.6.29 Note thet the fix is still needed in radeon fb code in Linus' latest git tree. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/video/aty/radeon_base.c;h=6c37e8ee5efe04c75bb10fa09ec5186f37233f97;hb=HEAD Patch looks good. Will push upstream. |