[V6 PATCH 7/7] ufs: fix TRUE and FALSE re-define build error

Suravee Suthikulpanit Suravee.Suthikulpanit at amd.com
Wed Jun 10 09:08:58 PDT 2015


Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit at amd.com>
Cc: Vinayak Holikatti <vinholikatti at gmail.com>
---
 drivers/scsi/ufs/unipro.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h
index 3fc3e21..816a8a4 100644
--- a/drivers/scsi/ufs/unipro.h
+++ b/drivers/scsi/ufs/unipro.h
@@ -198,6 +198,14 @@ enum ufs_hs_gear_tag {
 #define T_TC0TXMAXSDUSIZE	0x4060
 #define T_TC1TXMAXSDUSIZE	0x4061
 
+#ifdef FALSE
+#undef FALSE
+#endif
+
+#ifdef TRUE
+#undef TRUE
+#endif
+
 /* Boolean attribute values */
 enum {
 	FALSE = 0,
-- 
2.1.0




More information about the linux-arm-kernel mailing list