nvidiafb backlight: Fix implicit declaration in nv_backlight
PATCH 2/4 nvidiafb backlight: Fix implicit declaration in nv_backlight
From: Dave Jones <[email protected]>
drivers/video/nvidia/nv_backlight.c: In function 'nvidia_bl_init':drivers/video/nvidia/nv_backlight.c:103: error: implicit declaration of function 'pmac_has_backlight_type'
Signed-off-by Dave Jones <[email protected]>
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/nvidia/nv_backlight.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/video/nvidia/nv_backlight.c +5 -0
@@ -12,6 +12,11 @@#include <linux/backlight.h> #include <linux/fb.h> #include <linux/pci.h> + +#ifdef CONFIG_PMAC_BACKLIGHT +#include <asm/backlight.h> +#endif +#include "nv_local.h" #include "nv_type.h" #include "nv_proto.h"
-------------------------------------------------------------------------
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