ARM: OMAP2+: Fix Compilation error when omap_l3_noc built as module
authorGovindraj.R <govindraj.raja@ti.com>
Wed, 23 Nov 2011 22:45:37 +0000 (14:45 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Nov 2011 22:45:37 +0000 (14:45 -0800)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_l3_noc.c

index 6a66aa5..d15225f 100644 (file)
@@ -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