You need to sign in or sign up before continuing.
提交 c13aff32 编写于 作者: S Shailendra Verma 提交者: Tejun Heo

ata:sata_nv - Change 1 to true for bool type variable.

The variable swncq_enabled is bool type. Hence initialize it
with true instead of 1.
Signed-off-by: NShailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 766a2d97
...@@ -599,7 +599,7 @@ MODULE_DEVICE_TABLE(pci, nv_pci_tbl); ...@@ -599,7 +599,7 @@ MODULE_DEVICE_TABLE(pci, nv_pci_tbl);
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);
static bool adma_enabled; static bool adma_enabled;
static bool swncq_enabled = 1; static bool swncq_enabled = true;
static bool msi_enabled; static bool msi_enabled;
static void nv_adma_register_mode(struct ata_port *ap) static void nv_adma_register_mode(struct ata_port *ap)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册