[PATCH v2] usb: typec: ucsi: fix tracepoint related build error

2018-04-10 Thread Tobias Regnery
CONFIG_FTRACE. The build failure is caused by conditionally compiling trace.c depending on the wrong option CONFIG_FTRACE. Change this to depend on CONFIG_TRACING like other users of tracepoints do. Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface") Signed-off-by: T

Re: [PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-10 Thread Tobias Regnery
On 09.04.18, Tobias Regnery wrote: > On 09.04.18, Heikki Krogerus wrote: > > On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote: > > > The ucsi driver defines several tracepoints, but the header file with the > > > tracepoint definition trace.h is only co

Re: [PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-09 Thread Tobias Regnery
On 09.04.18, Heikki Krogerus wrote: > On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote: > > The ucsi driver defines several tracepoints, but the header file with the > > tracepoint definition trace.h is only conditionally built depending on > > CONFIG_FTRACE.

[PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-09 Thread Tobias Regnery
ers/usb/typec/ucsi/typec_ucsi.ko] undefined! With CONFIG_TYPEC_UCSI=y the build fails with several link errors. Fix this by changing the Makefile to unconditionally build trace.o. Tracepints are a runtime contruct and no other user of tracepoints depends on CONFIG_FTRACE. Fixes: c1b0bc2dabfa ("