projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
766a2d9
)
ata:sata_nv - Change 1 to true for bool type variable.
author
Shailendra Verma
<shailendra.capricorn@gmail.com>
Mon, 25 May 2015 20:08:25 +0000
(
01:38
+0530)
committer
Tejun 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/sata_nv.c
b/drivers/ata/sata_nv.c
index 7ece85f43020967a9f9b3b5657bf7ce50ae22c9f..734f563b8d37b076f6795c32337cd58d76fd9b84 100644
(file)
--- 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)