All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module
@ 2011-11-09 11:46 Govindraj.R
  2011-11-19  0:37 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Govindraj.R @ 2011-11-09 11:46 UTC (permalink / raw)
  To: linux-omap, Tony Lindgren; +Cc: Benoit Cousson, Santosh Shilimkar, Govindraj.R

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 <govindraj.raja@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module
  2011-11-09 11:46 [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module Govindraj.R
@ 2011-11-19  0:37 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2011-11-19  0:37 UTC (permalink / raw)
  To: Govindraj.R; +Cc: linux-omap, Benoit Cousson, Santosh Shilimkar

* Govindraj.R <govindraj.raja@ti.com> [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 <govindraj.raja@ti.com>
> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-19  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 11:46 [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module Govindraj.R
2011-11-19  0:37 ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.