From: Arnd Bergmann Date: Fri, 15 Sep 2017 19:53:47 +0000 (+0200) Subject: clk: pxa: fix building on older compilers X-Git-Tag: v4.15-rc1~48^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c82a2cb85973707671f1428b05f65243baf85da7;p=thirdparty%2Fkernel%2Flinux.git clk: pxa: fix building on older compilers gcc-4.4 got confused by the inline assembler statement: drivers/clk/pxa/clk-pxa.c: In function 'pxa2xx_core_turbo_switch': drivers/clk/pxa/clk-pxa.c:152: error: expected string literal before ')' token This removes the extraneous ':' to let all compilers parse the driver correctly. Signed-off-by: Arnd Bergmann Acked-by: Robert Jarzmik Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c index 74f64c3c42909..b80dc9d5855c9 100644 --- a/drivers/clk/pxa/clk-pxa.c +++ b/drivers/clk/pxa/clk-pxa.c @@ -147,9 +147,7 @@ void pxa2xx_core_turbo_switch(bool on) " b 3f\n" "2: b 1b\n" "3: nop\n" - : "=&r" (unused) - : "r" (clkcfg) - : ); + : "=&r" (unused) : "r" (clkcfg)); local_irq_restore(flags); }