From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755943Ab3H2Epm (ORCPT ); Thu, 29 Aug 2013 00:45:42 -0400 Received: from intranet.asianux.com ([58.214.24.6]:42975 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753261Ab3H2Epl (ORCPT ); Thu, 29 Aug 2013 00:45:41 -0400 X-Spam-Score: -101.0 Message-ID: <521ED1B5.5030507@asianux.com> Date: Thu, 29 Aug 2013 12:44:37 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Yoshinori Sato , Geert Uytterhoeven , ak@linux.intel.com CC: Andrew Morton , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] h8300/kernel/timer/timer8.c: add the missing semicolon References: <521EC55A.9030905@asianux.com> In-Reply-To: <521EC55A.9030905@asianux.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/29/2013 11:51 AM, Chen Gang wrote: > Add the missing semicolon to fix the typo issue. > > The related error: (defconfig for H8S): > > arch/h8300/kernel/timer/timer8.c: In function 'h8300_timer_setup': > arch/h8300/kernel/timer/timer8.c:98:2: error: expected ';' before 'ctrl_outw' > > Signed-off-by: Chen Gang > --- > arch/h8300/Makefile | 2 +- > arch/h8300/kernel/timer/timer8.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile > index a556447..d2ba710 100644 > --- a/arch/h8300/Makefile > +++ b/arch/h8300/Makefile > @@ -25,7 +25,7 @@ model-$(CONFIG_RAMKERNEL) := ram > model-$(CONFIG_ROMKERNEL) := rom > MODEL := $(model-y) > > -cflags-$(CONFIG_CPU_H8300H) := -mh > +cflags-$(CONFIG_CPU_H8300H) := -mh -mcpu=h8300h Oh, sorry, it contents some waste things, I should send patch v2. > ldflags-$(CONFIG_CPU_H8300H) := -mh8300helf > cflags-$(CONFIG_CPU_H8S) := -ms > ldflags-$(CONFIG_CPU_H8S) := -mh8300self > diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c > index 505f341..8aac2a7 100644 > --- a/arch/h8300/kernel/timer/timer8.c > +++ b/arch/h8300/kernel/timer/timer8.c > @@ -91,7 +91,7 @@ void __init h8300_timer_setup(void) > > #if defined(CONFIG_CPU_H8S) > /* Timer module enable */ > - ctrl_bclr(0, MSTPCRL) > + ctrl_bclr(0, MSTPCRL); > #endif > > /* initialize timer */ > -- Chen Gang