提交 8770b07c 编写于 作者: G Govindraj.R 提交者: Tony Lindgren

ARM: OMAP2+: Fix Compilation error when omap_l3_noc built as module

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: NGovindraj.R <govindraj.raja@ti.com>
Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 52a23962
...@@ -237,7 +237,7 @@ static int __devexit omap4_l3_remove(struct platform_device *pdev) ...@@ -237,7 +237,7 @@ static int __devexit omap4_l3_remove(struct platform_device *pdev)
static const struct of_device_id l3_noc_match[] = { static const struct of_device_id l3_noc_match[] = {
{.compatible = "ti,omap4-l3-noc", }, {.compatible = "ti,omap4-l3-noc", },
{}, {},
} };
MODULE_DEVICE_TABLE(of, l3_noc_match); MODULE_DEVICE_TABLE(of, l3_noc_match);
#else #else
#define l3_noc_match NULL #define l3_noc_match NULL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册