mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-14 08:13:56 +08:00
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 <arnd@arndb.de> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
cc54c0955d
commit
c82a2cb859
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user