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

Jarkko Nikula jarkko.nikula at bitmer.com
Tue Feb 28 20:32:47 CET 2012


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 at nokia.com>");

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

-- 
Jarkko


More information about the Alsa-devel mailing list