atyfb: Fix kconfig error part 2
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
@@ -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