diff options
-rw-r--r-- | drivers/block/nvme-core.c | 4 | ||||
-rw-r--r-- | include/linux/nvme.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index bb6ce311ad44..2af079e571fc 100644 --- a/drivers/block/nvme-core.c +++ b/drivers/block/nvme-core.c | |||
@@ -54,8 +54,8 @@ static unsigned char admin_timeout = 60; | |||
54 | module_param(admin_timeout, byte, 0644); | 54 | module_param(admin_timeout, byte, 0644); |
55 | MODULE_PARM_DESC(admin_timeout, "timeout in seconds for admin commands"); | 55 | MODULE_PARM_DESC(admin_timeout, "timeout in seconds for admin commands"); |
56 | 56 | ||
57 | unsigned char io_timeout = 30; | 57 | unsigned char nvme_io_timeout = 30; |
58 | module_param(io_timeout, byte, 0644); | 58 | module_param_named(io_timeout, nvme_io_timeout, byte, 0644); |
59 | MODULE_PARM_DESC(io_timeout, "timeout in seconds for I/O"); | 59 | MODULE_PARM_DESC(io_timeout, "timeout in seconds for I/O"); |
60 | 60 | ||
61 | static unsigned char retry_time = 30; | 61 | static unsigned char retry_time = 30; |
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 1813cfdb7e80..8541dd920bb7 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h | |||
@@ -62,8 +62,8 @@ enum { | |||
62 | 62 | ||
63 | #define NVME_VS(major, minor) (major << 16 | minor) | 63 | #define NVME_VS(major, minor) (major << 16 | minor) |
64 | 64 | ||
65 | extern unsigned char io_timeout; | 65 | extern unsigned char nvme_io_timeout; |
66 | #define NVME_IO_TIMEOUT (io_timeout * HZ) | 66 | #define NVME_IO_TIMEOUT (nvme_io_timeout * HZ) |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * Represents an NVM Express device. Each nvme_dev is a PCI function. | 69 | * Represents an NVM Express device. Each nvme_dev is a PCI function. |