ARM: fix lcd power build failure in collie_defconfig
Commit 086ada54ab
"FB: sa1100: remove global sa1100fb_.*_power function pointers"
got rid of all instances but one in locomolcd.c -- which was
conditional on CONFIG_SA1100_COLLIE. The associated .power
field which replaces the global is populated in mach-sa1100/collie.c
so move the assignment there, but make it conditional on the
locomolcd support, so use CONFIG_BACKLIGHT_LOCOMO in that file.
Cc: arm@kernel.org
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:

committed by
Olof Johansson

parent
ee5324ea33
commit
beca98c93d
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* arch/arm/mach-sa1100/include/mach/collie.h
|
||||
*
|
||||
* This file contains the hardware specific definitions for Assabet
|
||||
* This file contains the hardware specific definitions for Collie
|
||||
* Only include this file from SA1100-specific files.
|
||||
*
|
||||
* ChangeLog:
|
||||
@@ -13,6 +13,7 @@
|
||||
#ifndef __ASM_ARCH_COLLIE_H
|
||||
#define __ASM_ARCH_COLLIE_H
|
||||
|
||||
extern void locomolcd_power(int on);
|
||||
|
||||
#define COLLIE_SCOOP_GPIO_BASE (GPIO_MAX + 1)
|
||||
#define COLLIE_GPIO_CHARGE_ON (COLLIE_SCOOP_GPIO_BASE + 0)
|
||||
|
Reference in New Issue
Block a user