Skip to contentSkip to conversation

atyfb: Fix kconfig error part 2

PATCH New Antonino A. Daplas 1 participant 1 message Mar 5, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 atyfb: Fix kconfig error part 2

From: Randy Dunlap <[email protected]>

Fix implicit declarations and missing code in atyfb.

drivers/video/aty/atyfb_base.c:2137: warning: implicit declaration of function 'a ty_ld_lcd'
drivers/video/aty/atyfb_base.c:2154: warning: implicit declaration of function 'a ty_st_lcd'
atyfb_base.c:(.text+0x33e5c): undefined reference to aty_ld_lcd' atyfb_base.c:(.text+0x33eb2): undefined reference to aty_st_lcd'

---

 drivers/video/aty/atyfb.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/aty/atyfb.h +2 -1
index f72faff..dc62f8e 100644
@@ -284,7 +284,8 @@ #else
 #endif
 }
 
-#if defined(CONFIG_PM) || defined(CONFIG_PMAC_BACKLIGHT) || defined (CONFIG_FB_ATY_GENERIC_LCD)
+#if defined(CONFIG_PM) || defined(CONFIG_PMAC_BACKLIGHT) || \
+defined (CONFIG_FB_ATY_GENERIC_LCD) || defined (CONFIG_FB_ATY_BACKLIGHT)
 extern void aty_st_lcd(int index, u32 val, const struct atyfb_par *par);
 extern u32 aty_ld_lcd(int index, const struct atyfb_par *par);
 #endif

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV