From: Shailendra Verma Date: Mon, 25 May 2015 20:08:25 +0000 (+0530) Subject: ata:sata_nv - Change 1 to true for bool type variable. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c13aff32135f96e2d53373c807260b96a62cfead;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Tejun Heo --- 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)