Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751681AbdIOTyM (ORCPT ); Fri, 15 Sep 2017 15:54:12 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:60017 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751503AbdIOTyK (ORCPT ); Fri, 15 Sep 2017 15:54:10 -0400 From: Arnd Bergmann To: Michael Turquette , Stephen Boyd , Robert Jarzmik Cc: Arnd Bergmann , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: pxa: fix building on older compilers Date: Fri, 15 Sep 2017 21:53:47 +0200 Message-Id: <20170915195402.1469159-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:xO/ROFgaLqgPqP42fdhAd5tB40IYPHlEHK4RJETVgWF/48LmkBj b6Te15+s+LGvTs0+EmUNuRVxm9DV2/UKVlJQsJ6SR2wlYR8YL035fLU6otaXj0MyfEWqZgb aCqhCBjgG1QJ07nk5SMncvPDxgmk36OSBwvk27spJH1pnLK2wualaGqSl+fmqRqO4TBgOVT h5YtIzS5in38BgsbGlteQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:5bXFLRTFpwY=:kAsKXzMaf5b0R5+/eL6eeU ky23p6bX1gJUj4+l8QrWUuIMgAX+NLv475yY4ahcz1+AEnFfEm2p1mp0Np/yYCxTIYInZGXsh 7ZVBJedgDpKKQDqsGjrg0gBAod6WqBjY0MV3xpHhMBLeOpCC/3soACgp4w2ni+SIq9Lup+hgg WkTesS9wP3H3DM7/fYt3G+usKn9tBZHHFeNIfeDtZQ52MRuzNPyi2vdi+IfF500YIthlzRJ58 FaXrr7y/oZ33fi7RSZoR5ukMxy1lEwh6fjhz9lJpIQO7qJuJyM0FVfbO+Zt9QOC1n8yhk3sJ3 qi83Ju9uMDlWNcHaVhFm+P+kw1y6HC/2oftKqx1tbTQNGUZcWuu/Q8/EymyLZKdPxJUowUJkq GsRJysRdjEGIiWIzfzYNcE/l6yeKSUUFZ1i4d/DAqO9aVkQgeitTiGnXGg9knPETus1/Mo6ep MYVcr/fL8n1hAj8ME6/egONDZqxrrxm6iqozyQr7H0Co+AZAvWgryYZ3BP9BdKLSCYJwwDDUm QCW2/v3epGjf8nmz0aFAiYFf1gDnMljcuDLqSe1zvqCyduQdZZ9kKdRvrQpcZXU71uzRm5+zr UCFpBXWn4aaW0l0hwxNHjVsmLknjJBI8pGsTxaWTcbBsjJLSfeX8kpNEj+btSq0mOJr0OgAXy D+wXXSlG+Zan4rA6kRONWQ3unCYprqjl7QJAkclxwxT1sUB0cM4W6Zqj+ISCErmFQc9RyfrkA plG4MPquWVOpWj7MIFNet+N43QL/Tv5ogqmOSA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 30 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 --- drivers/clk/pxa/clk-pxa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c index 74f64c3c4290..b80dc9d5855c 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); } -- 2.9.0