diff mbox series

[1/3] usb: typec: tps6598x: Fix tracepoint header file

Message ID 20210310104630.77945-2-heikki.krogerus@linux.intel.com (mailing list archive)
State Accepted
Commit 3adab6a1691a69c5e86bf10a9217d7dc6d02eb01
Headers show
Series usb: typec: tps6598x: Move the driver under its own directory | expand

Commit Message

Heikki Krogerus March 10, 2021, 10:46 a.m. UTC
There were two typos in the precompiler conditions.

Fixes: 65a2f67d9945 ("usb: typec: tps6598x: Add trace event for IRQ events")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 drivers/usb/typec/tps6598x_trace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/usb/typec/tps6598x_trace.h b/drivers/usb/typec/tps6598x_trace.h
index 38bfb2f04e46d..21917751d61ee 100644
--- a/drivers/usb/typec/tps6598x_trace.h
+++ b/drivers/usb/typec/tps6598x_trace.h
@@ -9,7 +9,7 @@ 
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM tps6598x
 
-#if !defined(_TPS6598x_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
+#if !defined(_TPS6598X_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
 #define _TPS6598X_TRACE_H_
 
 #include "tps6598x.h"
@@ -276,7 +276,7 @@  TRACE_EVENT(tps6598x_data_status,
 #endif /* _TPS6598X_TRACE_H_ */
 
 /* This part must be outside protection */
-#undef TRACE_INCLUDE_PATH
+#undef TRACE_INCLUDE_FILE
 #define TRACE_INCLUDE_FILE tps6598x_trace
 #undef TRACE_INCLUDE_PATH
 #define TRACE_INCLUDE_PATH .