So let's remove everything that only makes sense for kernel modules.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
*
* 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>
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);