With gcc-4.4 and earlier, the asm statement must not end in ':', or we get this build error:
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
Signed-off-by: Arnd Bergmann arnd@arndb.de --- drivers/clk/pxa/clk-pxa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c index 74f64c3c4290..626ec5613bb1 100644 --- a/drivers/clk/pxa/clk-pxa.c +++ b/drivers/clk/pxa/clk-pxa.c @@ -148,8 +148,7 @@ void pxa2xx_core_turbo_switch(bool on) "2: b 1b\n" "3: nop\n" : "=&r" (unused) - : "r" (clkcfg) - : ); + : "r" (clkcfg));
local_irq_restore(flags); }