summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xiaodong <B39117@freescale.com>2013-03-20 16:06:35 +0800
committerJason Liu <r64343@freescale.com>2013-04-03 16:51:25 +0800
commitf16a7b215b9f92b6784ac15a8e1fb9765fc2863b (patch)
tree59f53f92440c7f449fe4fe73fd39839439ab849e
parent355f972eb6189df9d257dd2cf9acd1641af3911d (diff)
downloadlinux-f16a7b215b9f92b6784ac15a8e1fb9765fc2863b.tar.gz
ENGR00254896 mx6: hdmidongle: Fix compile error.
After enable PICE in kernel config, building will meet fatal error:linux/wakelock.h: No such file or directory Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_hdmidongle.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_hdmidongle.c b/arch/arm/mach-mx6/board-mx6q_hdmidongle.c
index 1a06774c311b..ffd8d9afef6a 100644
--- a/arch/arm/mach-mx6/board-mx6q_hdmidongle.c
+++ b/arch/arm/mach-mx6/board-mx6q_hdmidongle.c
@@ -68,10 +68,6 @@
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
-#ifdef CONFIG_IMX_PCIE
-#include <linux/wakelock.h>
-#endif
-
#ifdef CONFIG_MFD_WM831X
#include <linux/mfd/wm831x/core.h>
#include <linux/mfd/wm831x/pdata.h>
@@ -105,7 +101,6 @@
#define HDMIDONGLE_PCIE_RST IMX_GPIO_NR(3, 9)
#define HDMIDONGLE_PCIE_WAKE IMX_GPIO_NR(3, 22)
#define HDMIDONGLE_PCIE_DIS IMX_GPIO_NR(3, 10)
-static struct wake_lock pcie_wake_lock;
#endif
extern char *gp_reg_id;
@@ -735,8 +730,6 @@ static void __init mx6_hdmidongle_board_init(void)
/* Add PCIe RC interface support */
#ifdef CONFIG_IMX_PCIE
imx6q_add_pcie(&mx6_hdmidongle_pcie_data);
- wake_lock_init(&pcie_wake_lock, WAKE_LOCK_SUSPEND, "pcie_workaround");
- wake_lock(&pcie_wake_lock);
#endif
}
pm_power_off = mx6_snvs_poweroff;