From: Ralf Baechle Date: Thu, 2 Apr 2015 14:20:04 +0000 (+0200) Subject: MIPS: SEAD3: sead3-platform is not a module. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85f215cf9b8a8888e1742bbfb00a29f609f28022;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git MIPS: SEAD3: sead3-platform is not a module. So let's remove everything that only makes sense for kernel modules. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mti-sead3/sead3-platform.c b/arch/mips/mti-sead3/sead3-platform.c index 53ee6f1f018d..a38325474a07 100644 --- a/arch/mips/mti-sead3/sead3-platform.c +++ b/arch/mips/mti-sead3/sead3-platform.c @@ -5,7 +5,6 @@ * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. */ -#include #include #include #include @@ -48,8 +47,4 @@ static int __init uart8250_init(void) return platform_device_register(&uart8250_device); } -module_init(uart8250_init); - -MODULE_AUTHOR("Chris Dearman "); -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("8250 UART probe driver for SEAD3"); +device_initcall(uart8250_init);