input: touchscreen: Fix section mismatch
WARNING: drivers/built-in.o(.text+0x14194c): Section mismatch in
reference from the function msm_ts_enable() to the function
.devinit.text:msm_ts_hw_init()
The function msm_ts_enable() references
the function __devinit msm_ts_hw_init().
This is often because msm_ts_enable lacks a __devinit
annotation or the annotation of msm_ts_hw_init is wrong.
Change-Id: I960303c31c514e11e9723e1e10d2845e37143415
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/drivers/input/touchscreen/msm_ts.c b/drivers/input/touchscreen/msm_ts.c
index 122b45d..eb2e73b 100644
--- a/drivers/input/touchscreen/msm_ts.c
+++ b/drivers/input/touchscreen/msm_ts.c
@@ -1,7 +1,7 @@
/* drivers/input/touchscreen/msm_ts.c
*
* Copyright (C) 2008 Google, Inc.
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -207,7 +207,7 @@
#undef __dump_tssc_reg
}
-static int __devinit msm_ts_hw_init(struct msm_ts *ts)
+static int msm_ts_hw_init(struct msm_ts *ts)
{
uint32_t tmp;