linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: serio: Compile error fix (altera_ps2.c)
@ 2011-02-19 20:04 Dustan Bower
  2011-02-19 21:45 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Dustan Bower @ 2011-02-19 20:04 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Dustan Bower

Fixed compile error, today's linux-next tree:

  CC [M]  drivers/input/serio/altera_ps2.o
drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’
make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
make: *** [_module_drivers/input/serio] Error 2

Signed-off-by: Dustan Bower <dustan.bower@gmail.com>
---
 drivers/input/serio/altera_ps2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index 3fee88b..d363dc4 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
 static const struct of_device_id altera_ps2_match[] = {
 	{ .compatible = "ALTR,ps2-1.0", },
 	{},
-}
+};
 MODULE_DEVICE_TABLE(of, altera_ps2_match);
 #else /* CONFIG_OF */
 #define altera_ps2_match NULL
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Input: serio: Compile error fix (altera_ps2.c)
  2011-02-19 20:04 [PATCH] Input: serio: Compile error fix (altera_ps2.c) Dustan Bower
@ 2011-02-19 21:45 ` Dmitry Torokhov
  2011-02-20  3:04   ` Grant Likely
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2011-02-19 21:45 UTC (permalink / raw)
  To: Dustan Bower, Grant Likely; +Cc: linux-input, linux-kernel, Thomas Chou

On Sat, Feb 19, 2011 at 03:04:19PM -0500, Dustan Bower wrote:
> Fixed compile error, today's linux-next tree:
> 
>   CC [M]  drivers/input/serio/altera_ps2.o
> drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’
> make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
> make: *** [_module_drivers/input/serio] Error 2
> 
> Signed-off-by: Dustan Bower <dustan.bower@gmail.com>

Thanks Dustan.

Grant, maybe you could amend the original patch so that we do not
introduce bisection failure point?

> ---
>  drivers/input/serio/altera_ps2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
> index 3fee88b..d363dc4 100644
> --- a/drivers/input/serio/altera_ps2.c
> +++ b/drivers/input/serio/altera_ps2.c
> @@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
>  static const struct of_device_id altera_ps2_match[] = {
>  	{ .compatible = "ALTR,ps2-1.0", },
>  	{},
> -}
> +};
>  MODULE_DEVICE_TABLE(of, altera_ps2_match);
>  #else /* CONFIG_OF */
>  #define altera_ps2_match NULL
> -- 
> 1.7.4.1
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Input: serio: Compile error fix (altera_ps2.c)
  2011-02-19 21:45 ` Dmitry Torokhov
@ 2011-02-20  3:04   ` Grant Likely
  2011-02-20  4:47     ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Likely @ 2011-02-20  3:04 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Dustan Bower, linux-input, linux-kernel, Thomas Chou

On Sat, Feb 19, 2011 at 2:45 PM, Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:
> On Sat, Feb 19, 2011 at 03:04:19PM -0500, Dustan Bower wrote:
>> Fixed compile error, today's linux-next tree:
>>
>>   CC [M]  drivers/input/serio/altera_ps2.o
>> drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’
>> make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
>> make: *** [_module_drivers/input/serio] Error 2
>>
>> Signed-off-by: Dustan Bower <dustan.bower@gmail.com>
>
> Thanks Dustan.
>
> Grant, maybe you could amend the original patch so that we do not
> introduce bisection failure point?

done, thanks.

g.

>
>> ---
>>  drivers/input/serio/altera_ps2.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
>> index 3fee88b..d363dc4 100644
>> --- a/drivers/input/serio/altera_ps2.c
>> +++ b/drivers/input/serio/altera_ps2.c
>> @@ -178,7 +178,7 @@ static int __devexit altera_ps2_remove(struct platform_device *pdev)
>>  static const struct of_device_id altera_ps2_match[] = {
>>       { .compatible = "ALTR,ps2-1.0", },
>>       {},
>> -}
>> +};
>>  MODULE_DEVICE_TABLE(of, altera_ps2_match);
>>  #else /* CONFIG_OF */
>>  #define altera_ps2_match NULL
>> --
>> 1.7.4.1
>>
>
> --
> Dmitry
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Input: serio: Compile error fix (altera_ps2.c)
  2011-02-20  3:04   ` Grant Likely
@ 2011-02-20  4:47     ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2011-02-20  4:47 UTC (permalink / raw)
  To: Grant Likely
  Cc: Dmitry Torokhov, Dustan Bower, linux-input, linux-kernel,
	Thomas Chou

On Sat, 19 Feb 2011 20:04:49 -0700 Grant Likely wrote:

> On Sat, Feb 19, 2011 at 2:45 PM, Dmitry Torokhov
> <dmitry.torokhov@gmail.com> wrote:
> > On Sat, Feb 19, 2011 at 03:04:19PM -0500, Dustan Bower wrote:
> >> Fixed compile error, today's linux-next tree:
> >>
> >>   CC [M]  drivers/input/serio/altera_ps2.o
> >> drivers/input/serio/altera_ps2.c:182:1: error: expected ‘,’ or ‘;’ before ‘extern’
> >> make[1]: *** [drivers/input/serio/altera_ps2.o] Error 1
> >> make: *** [_module_drivers/input/serio] Error 2
> >>
> >> Signed-off-by: Dustan Bower <dustan.bower@gmail.com>
> >
> > Thanks Dustan.
> >
> > Grant, maybe you could amend the original patch so that we do not
> > introduce bisection failure point?
> 
> done, thanks.

Hi Grant,

Did you also fix drivers/spi/spi_oc_tiny.c and
drivers/spi/spi_altera.c ?  I hit those build errors when
CONFIG_OF=y.  Could there be others?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-20  4:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19 20:04 [PATCH] Input: serio: Compile error fix (altera_ps2.c) Dustan Bower
2011-02-19 21:45 ` Dmitry Torokhov
2011-02-20  3:04   ` Grant Likely
2011-02-20  4:47     ` Randy Dunlap

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).