summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-14 23:50:48 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-08-15 00:30:04 -0700
commitf01868dcb13e7eb064910e8afe391c1846b9e73b (patch)
treedfed3258739fb8e93e30f230918a4c12bcd6c77d /drivers/input
parent3719b54bc62318db7dd8ac7c39a09dfb991a208f (diff)
downloadop-kernel-dev-f01868dcb13e7eb064910e8afe391c1846b9e73b.zip
op-kernel-dev-f01868dcb13e7eb064910e8afe391c1846b9e73b.tar.gz
Input: htcpen - fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Pau Oliva Fora <pau@eslack.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/htcpen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c
index 6c4fb84..6650085 100644
--- a/drivers/input/touchscreen/htcpen.c
+++ b/drivers/input/touchscreen/htcpen.c
@@ -221,7 +221,7 @@ static struct isa_driver htcpen_isa_driver = {
}
};
-static struct dmi_system_id __initdata htcshift_dmi_table[] = {
+static struct dmi_system_id htcshift_dmi_table[] __initdata = {
{
.ident = "Shift",
.matches = {
OpenPOWER on IntegriCloud