diff options
author | Guido Günther <agx@sigxcpu.org> | 2021-02-15 14:46:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-10 11:37:14 +0300 |
commit | 95cd85a9d493c34e70e97736f859316d52c7bd61 (patch) | |
tree | ff85036560c86a5fd6cad3d24b311a5bfe34993b /drivers/usb/typec/Makefile | |
parent | 99288de36020c5a6976df77e53ac449b0f75c97f (diff) | |
download | linux-95cd85a9d493c34e70e97736f859316d52c7bd61.tar.xz |
usb: typec: tps6598x: Add trace event for IRQ events
Allow to get irq event information via the tracing framework. This
allows to inspect USB-C negotiation at runtime.
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Link: https://lore.kernel.org/r/11444ae487d69da98ec20a18f2e49259e68319e3.1613389531.git.agx@sigxcpu.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/Makefile')
-rw-r--r-- | drivers/usb/typec/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/typec/Makefile b/drivers/usb/typec/Makefile index d03b48c4b864..27aa12129190 100644 --- a/drivers/usb/typec/Makefile +++ b/drivers/usb/typec/Makefile @@ -1,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 +# define_trace.h needs to know how to find our header +CFLAGS_tps6598x.o := -I$(src) + obj-$(CONFIG_TYPEC) += typec.o typec-y := class.o mux.o bus.o obj-$(CONFIG_TYPEC) += altmodes/ |