summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.capricorn@gmail.com>2015-05-25 22:08:25 +0200
committerTejun Heo <tj@kernel.org>2015-05-26 02:06:55 +0200
commitc13aff32135f96e2d53373c807260b96a62cfead (patch)
treef05e59be73de1081cab1701507f50db4a6bbf84d /drivers/ata/sata_nv.c
parentata: add Broadcom AHCI SATA3 driver for STB chips (diff)
downloadlinux-c13aff32135f96e2d53373c807260b96a62cfead.tar.xz
linux-c13aff32135f96e2d53373c807260b96a62cfead.zip
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: Shailendra Verma <shailendra.capricorn@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r--drivers/ata/sata_nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c
index 7ece85f43020..734f563b8d37 100644
--- a/drivers/ata/sata_nv.c
+++ b/drivers/ata/sata_nv.c
@@ -599,7 +599,7 @@ MODULE_DEVICE_TABLE(pci, nv_pci_tbl);
MODULE_VERSION(DRV_VERSION);
static bool adma_enabled;
-static bool swncq_enabled = 1;
+static bool swncq_enabled = true;
static bool msi_enabled;
static void nv_adma_register_mode(struct ata_port *ap)