Re: [PATCH 1/1] Input: htcpen - Fix incorrect placement of __initdata

From
Sachin Kamat <hidden>
Date
2013-08-14 06:25:22
Reply to
Sachin Kamat, 2013-08-07
Hi Dmitry,

On 7 August 2013 15:09, Sachin Kamat [off-list ref] wrote:
quoted hunk ↗ jump to hunk
__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 <redacted>
Cc: Pau Oliva Fora <redacted>
---
 drivers/input/touchscreen/htcpen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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 = {
--
1.7.9.5
Thanks for applying my other patches. Looks like you missed this one though :)

-- 
With warm regards,
Sachin
Thread (3 messages) 3 messages, 2 authors, last reply 2013-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help