diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-04-02 16:20:04 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-02 16:20:04 +0200 |
commit | 85f215cf9b8a8888e1742bbfb00a29f609f28022 (patch) | |
tree | 67b501c1a87bf9519ffdf7189bcf0a2bf58b5fde /arch/mips/mti-sead3 | |
parent | MIPS: SEAD3: sead3-net is not a module. (diff) | |
download | linux-85f215cf9b8a8888e1742bbfb00a29f609f28022.tar.xz linux-85f215cf9b8a8888e1742bbfb00a29f609f28022.zip |
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 <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3')
-rw-r--r-- | arch/mips/mti-sead3/sead3-platform.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <linux/module.h> #include <linux/init.h> #include <linux/irqchip/mips-gic.h> #include <linux/serial_8250.h> @@ -48,8 +47,4 @@ static int __init uart8250_init(void) return platform_device_register(&uart8250_device); } -module_init(uart8250_init); - -MODULE_AUTHOR("Chris Dearman <chris@mips.com>"); -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("8250 UART probe driver for SEAD3"); +device_initcall(uart8250_init); |