lkml.org 
[lkml]   [2011]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] Input: serio: Compile error fix (altera_ps2.c)
    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-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-02-20 04:07    [W:0.024 / U:0.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site