]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ata:sata_nv - Change 1 to true for bool type variable.
authorShailendra Verma <shailendra.capricorn@gmail.com>
Mon, 25 May 2015 20:08:25 +0000 (01:38 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 26 May 2015 00:06:55 +0000 (20:06 -0400)
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>
drivers/ata/sata_nv.c

index 7ece85f43020967a9f9b3b5657bf7ce50ae22c9f..734f563b8d37b076f6795c32337cd58d76fd9b84 100644 (file)
@@ -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)