* [patch] input/tc3589x: fix compile error
@ 2011-01-04 11:08 Dan Carpenter
2011-01-05 1:01 ` Linus Walleij
2011-01-07 10:12 ` Linus Walleij
0 siblings, 2 replies; 7+ messages in thread
From: Dan Carpenter @ 2011-01-04 11:08 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Sundar Iyer, Linus Walleij, linux-input
There was a semi-colon missing and it broke the compile.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c
index 69dc0cb..217a74f 100644
--- a/drivers/input/keyboard/tc3589x-keypad.c
+++ b/drivers/input/keyboard/tc3589x-keypad.c
@@ -469,4 +469,5 @@ module_exit(tc3589x_keypad_exit);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Jayeeta Banerjee/Sundar Iyer");
MODULE_DESCRIPTION("TC35893 Keypad Driver");
-MODULE_ALIAS("platform:tc3589x-keypad")
+MODULE_ALIAS("platform:tc3589x-keypad");
+
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-04 11:08 [patch] input/tc3589x: fix compile error Dan Carpenter
@ 2011-01-05 1:01 ` Linus Walleij
2011-01-05 8:20 ` Dan Carpenter
2011-01-07 10:12 ` Linus Walleij
1 sibling, 1 reply; 7+ messages in thread
From: Linus Walleij @ 2011-01-05 1:01 UTC (permalink / raw)
To: Dan Carpenter; +Cc: Dmitry Torokhov, Sundar Iyer, linux-input
2011/1/4 Dan Carpenter <error27@gmail.com>:
> There was a semi-colon missing and it broke the compile.
How come my setup compiles then... Oh well, probably a more
forgiving compiler.
Applied it.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-05 1:01 ` Linus Walleij
@ 2011-01-05 8:20 ` Dan Carpenter
2011-01-05 10:55 ` Linus Walleij
0 siblings, 1 reply; 7+ messages in thread
From: Dan Carpenter @ 2011-01-05 8:20 UTC (permalink / raw)
To: Linus Walleij; +Cc: Dmitry Torokhov, Sundar Iyer, linux-input
On Wed, Jan 05, 2011 at 02:01:01AM +0100, Linus Walleij wrote:
> 2011/1/4 Dan Carpenter <error27@gmail.com>:
>
> > There was a semi-colon missing and it broke the compile.
>
> How come my setup compiles then... Oh well, probably a more
> forgiving compiler.
The only explanation I can think of is that you're compiling the driver
into the kernel instead of as a module? A lot of people like to have
their keyboard compiled in instead of loaded later.
You could try a "make drivers/input/keyboard/tc3589x-keypad.i" and look
at the precompiled code.
regards,
dan carpenter
> Applied it.
>
> Yours,
> Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-05 8:20 ` Dan Carpenter
@ 2011-01-05 10:55 ` Linus Walleij
0 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2011-01-05 10:55 UTC (permalink / raw)
To: Dan Carpenter; +Cc: Dmitry Torokhov, Sundar Iyer, linux-input
2011/1/5 Dan Carpenter <error27@gmail.com>:
> On Wed, Jan 05, 2011 at 02:01:01AM +0100, Linus Walleij wrote:
>> 2011/1/4 Dan Carpenter <error27@gmail.com>:
>>
>> > There was a semi-colon missing and it broke the compile.
>>
>> How come my setup compiles then... Oh well, probably a more
>> forgiving compiler.
>
> The only explanation I can think of is that you're compiling the driver
> into the kernel instead of as a module?
Yes that's it, hm the macro __MODULE_INFO() resolves to
nothing if compiled-in and resolves to something needing
a semicolon otherwise.
This makes some errors pass under the radar, looks
syntactically unsound to me :-(
I'll cook up a patch.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-04 11:08 [patch] input/tc3589x: fix compile error Dan Carpenter
2011-01-05 1:01 ` Linus Walleij
@ 2011-01-07 10:12 ` Linus Walleij
2011-01-07 17:45 ` Dmitry Torokhov
1 sibling, 1 reply; 7+ messages in thread
From: Linus Walleij @ 2011-01-07 10:12 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Sundar Iyer, linux-input, Dan Carpenter
2011/1/4 Dan Carpenter <error27@gmail.com>:
> There was a semi-colon missing and it broke the compile.
>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
Dmitry can you take this fixup into the input tree?
Russell pulled the tc3589x driver into his tree and Torvalds
pulled it into his tree, so if you are based on Torvalds' tree
for today it should apply fine.
(Sorry for the mistake, I've attempted to fix the root cause
by a patch to make this throw compile errors under all
circumstances to Rusty Russell.)
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-07 10:12 ` Linus Walleij
@ 2011-01-07 17:45 ` Dmitry Torokhov
2011-01-07 19:50 ` Linus Walleij
0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Torokhov @ 2011-01-07 17:45 UTC (permalink / raw)
To: Linus Walleij; +Cc: Sundar Iyer, linux-input, Dan Carpenter
On Fri, Jan 07, 2011 at 11:12:38AM +0100, Linus Walleij wrote:
> 2011/1/4 Dan Carpenter <error27@gmail.com>:
>
> > There was a semi-colon missing and it broke the compile.
> >
> > Signed-off-by: Dan Carpenter <error27@gmail.com>
>
> Dmitry can you take this fixup into the input tree?
> Russell pulled the tc3589x driver into his tree and Torvalds
> pulled it into his tree, so if you are based on Torvalds' tree
> for today it should apply fine.
>
I normally merge with mainline at -rc1 or -rc2 points so I do not have
the driver yet.
I think this is one of those times when forwarding patch directly to
Linus instead of waiting for it to trickle through all the trees is the
most sensible solution.
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] input/tc3589x: fix compile error
2011-01-07 17:45 ` Dmitry Torokhov
@ 2011-01-07 19:50 ` Linus Walleij
0 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2011-01-07 19:50 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Sundar Iyer, linux-input, Dan Carpenter
2011/1/7 Dmitry Torokhov <dmitry.torokhov@gmail.com>:
> I think this is one of those times when forwarding patch directly to
> Linus instead of waiting for it to trickle through all the trees is the
> most sensible solution.
OK said and done Linus sends to Linus...
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-01-07 19:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04 11:08 [patch] input/tc3589x: fix compile error Dan Carpenter
2011-01-05 1:01 ` Linus Walleij
2011-01-05 8:20 ` Dan Carpenter
2011-01-05 10:55 ` Linus Walleij
2011-01-07 10:12 ` Linus Walleij
2011-01-07 17:45 ` Dmitry Torokhov
2011-01-07 19:50 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).