From: Ralf Baechle Date: Thu, 2 Apr 2015 14:19:29 +0000 (+0200) Subject: MIPS: SEAD3: sead3-net is not a module. X-Git-Tag: v4.14-rc1~5562^2~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d4b5b9e869677154bc5dd27f9cb57c8141deca5;p=platform%2Fkernel%2Flinux-rpi.git MIPS: SEAD3: sead3-net 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-net.c b/arch/mips/mti-sead3/sead3-net.c index 46176b8..16895f8 100644 --- a/arch/mips/mti-sead3/sead3-net.c +++ b/arch/mips/mti-sead3/sead3-net.c @@ -5,7 +5,7 @@ * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. */ -#include +#include #include #include #include @@ -50,8 +50,4 @@ static int __init sead3_net_init(void) return platform_device_register(&sead3_net_device); } -module_init(sead3_net_init); - -MODULE_AUTHOR("Chris Dearman "); -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("Network probe driver for SEAD-3"); +device_initcall(sead3_net_init);