aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorGravatar Shailendra Verma <shailendra.capricorn@gmail.com> 2015-05-26 01:38:25 +0530
committerGravatar Tejun Heo <tj@kernel.org> 2015-05-25 20:06:55 -0400
commitc13aff32135f96e2d53373c807260b96a62cfead (patch)
treef05e59be73de1081cab1701507f50db4a6bbf84d /drivers/ata
parentata: add Broadcom AHCI SATA3 driver for STB chips (diff)
downloadlinux-c13aff32135f96e2d53373c807260b96a62cfead.tar.gz
linux-c13aff32135f96e2d53373c807260b96a62cfead.tar.bz2
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')
-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)