From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307Ab2ENQiI (ORCPT ); Mon, 14 May 2012 12:38:08 -0400 Received: from hqemgate03.nvidia.com ([216.228.121.140]:19474 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750904Ab2ENQiG (ORCPT ); Mon, 14 May 2012 12:38:06 -0400 X-PGP-Universal: processed; by hqnvupgp06.nvidia.com on Mon, 14 May 2012 09:38:01 -0700 Message-ID: <4FB133E5.30301@nvidia.com> Date: Mon, 14 May 2012 22:03:41 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Axel Lin CC: "linux-kernel@vger.kernel.org" , Liam Girdwood , Mark Brown Subject: Re: [PATCH] regulator: tps62360: Fix build error due to missing semicolon References: <1337011088.6054.0.camel@phoenix> <4FB12EA3.504@nvidia.com> In-Reply-To: <4FB12EA3.504@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 14 May 2012 09:41 PM, Laxman Dewangan wrote: > On Monday 14 May 2012 09:28 PM, Axel Lin wrote: >> Fix below build error: >> CC [M] drivers/regulator/tps62360-regulator.o >> drivers/regulator/tps62360-regulator.c:351:1: error: expected ',' or ';' before 'extern' >> make[2]: *** [drivers/regulator/tps62360-regulator.o] Error 1 >> make[1]: *** [drivers/regulator] Error 2 >> make: *** [drivers] Error 2 >> >> Signed-off-by: Axel Lin >> --- >> drivers/regulator/tps62360-regulator.c | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/drivers/regulator/tps62360-regulator.c b/drivers/regulator/tps62360-regulator.c >> index 60765cc..82cd763 100644 >> --- a/drivers/regulator/tps62360-regulator.c >> +++ b/drivers/regulator/tps62360-regulator.c >> @@ -347,7 +347,7 @@ static const struct of_device_id tps62360_of_match[] = { >> { .compatible = "ti,tps62362", .data = (void *)TPS62362}, >> { .compatible = "ti,tps62363", .data = (void *)TPS62363}, >> {}, >> -} >> +}; >> MODULE_DEVICE_TABLE(of, tps62360_of_match); >> #endif >> > Really strange!! I am not getting this compilation error in my build. > > Acked-by: Laxman Dewangan > Got reproduced this error if I compile the driver as module. Now onwards, I will compile as y and m for any change. Sorry for inconvenience and thanks for fixing this.