x86: io_delay.c cleanup

Impact: cleanup

 - fix header file issues
Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
parent 8383d821
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/init.h>
#include <linux/dmi.h> #include <linux/dmi.h>
#include <asm/io.h> #include <linux/io.h>
int io_delay_type __read_mostly = CONFIG_DEFAULT_IO_DELAY_TYPE; int io_delay_type __read_mostly = CONFIG_DEFAULT_IO_DELAY_TYPE;
...@@ -47,8 +47,7 @@ EXPORT_SYMBOL(native_io_delay); ...@@ -47,8 +47,7 @@ EXPORT_SYMBOL(native_io_delay);
static int __init dmi_io_delay_0xed_port(const struct dmi_system_id *id) static int __init dmi_io_delay_0xed_port(const struct dmi_system_id *id)
{ {
if (io_delay_type == CONFIG_IO_DELAY_TYPE_0X80) { if (io_delay_type == CONFIG_IO_DELAY_TYPE_0X80) {
printk(KERN_NOTICE "%s: using 0xed I/O delay port\n", pr_notice("%s: using 0xed I/O delay port\n", id->ident);
id->ident);
io_delay_type = CONFIG_IO_DELAY_TYPE_0XED; io_delay_type = CONFIG_IO_DELAY_TYPE_0XED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment