Browse Source

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>
Sachin Kamat 12 năm trước cách đây
mục cha
commit
f01868dcb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/input/touchscreen/htcpen.c

+ 1 - 1
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 = {