Re: [PATCH] OMAP2+: Fix Compilation error when omap_l3_noc built as module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux