From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module Date: Fri, 18 Nov 2011 16:37:37 -0800 Message-ID: <20111119003737.GB31337@atomide.com> References: <1320839199-4006-1-git-send-email-govindraj.raja@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:12622 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752712Ab1KSAhj (ORCPT ); Fri, 18 Nov 2011 19:37:39 -0500 Content-Disposition: inline In-Reply-To: <1320839199-4006-1-git-send-email-govindraj.raja@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Govindraj.R" Cc: linux-omap@vger.kernel.org, Benoit Cousson , Santosh Shilimkar * Govindraj.R [111109 03:12]: > Fix below compilation failure on mainline kernel 3.2-rc1 > when omap_l3_noc.c is built as module. > > arch/arm/mach-omap2/omap_l3_noc.c:240: error: expected ',' or ';' before 'MODULE_DEVICE_TABLE' > > Signed-off-by: Govindraj.R > Acked-by: Santosh Shilimkar Thanks applying into fixes. Tony > --- > arch/arm/mach-omap2/omap_l3_noc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/omap_l3_noc.c b/arch/arm/mach-omap2/omap_l3_noc.c > index 6a66aa5..d15225f 100644 > --- a/arch/arm/mach-omap2/omap_l3_noc.c > +++ b/arch/arm/mach-omap2/omap_l3_noc.c > @@ -237,7 +237,7 @@ static int __devexit omap4_l3_remove(struct platform_device *pdev) > static const struct of_device_id l3_noc_match[] = { > {.compatible = "ti,omap4-l3-noc", }, > {}, > -} > +}; > MODULE_DEVICE_TABLE(of, l3_noc_match); > #else > #define l3_noc_match NULL > -- > 1.7.4.1 >