Re: [PATCH v2 01/10] ARM: OMAP: mcbsp: Convert core driver to proper platform driver

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

 



On 02/28/2012 09:40 AM, Peter Ujfalusi wrote:
> --- a/arch/arm/plat-omap/mcbsp.c
> +++ b/arch/arm/plat-omap/mcbsp.c
> @@ -1354,8 +1354,9 @@ static struct platform_driver omap_mcbsp_driver = {
>  	},
>  };
>  
> -int __init omap_mcbsp_init(void)
> -{
> -	/* Register the McBSP driver */
> -	return platform_driver_register(&omap_mcbsp_driver);
> -}
> +module_platform_driver(omap_mcbsp_driver);
> +
> +MODULE_AUTHOR("Samuel Ortiz <samuel.ortiz@xxxxxxxxx>");

Minor, you shouldn't add expired email address here. No need to resend
though since this gets removed in 4/10.

-- 
Jarkko
--
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