drivers / platform: Fix __init attribute location

__init belongs after the return type on functions, not before it.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hanjun Guo 2013-08-17 20:42:25 +08:00 коммит произвёл Greg Kroah-Hartman
Родитель 3454bf9604
Коммит a82579106c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1054,7 +1054,7 @@ void __init early_platform_driver_register_all(char *class_str)
* @epdrv: early platform driver structure
* @id: id to match against
*/
static __init struct platform_device *
static struct platform_device * __init
early_platform_match(struct early_platform_driver *epdrv, int id)
{
struct platform_device *pd;
@ -1072,7 +1072,7 @@ early_platform_match(struct early_platform_driver *epdrv, int id)
* @epdrv: early platform driver structure
* @id: return true if id or above exists
*/
static __init int early_platform_left(struct early_platform_driver *epdrv,
static int __init early_platform_left(struct early_platform_driver *epdrv,
int id)
{
struct platform_device *pd;