0001-unbreak-xhci-trace.patch 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. [PATCH] unbreak xhci-trace compilation
  2. When commit 84a99f6fc5d4 (xhci: add traces for debug messages in
  3. xhci_address_device) was backported to the owl tree as part of commit
  4. 5b2ea66f15396 (usb: add owl usb driver), the specific CFLAGS needed for
  5. xhci-trace.c were missed, causing build breakage:
  6. CC drivers/usb/host/xhci-trace.o
  7. In file included from drivers/usb/host/xhci-trace.h:151:0,
  8. from drivers/usb/host/xhci-trace.c:15:
  9. include/trace/define_trace.h:79:43: fatal error: ./xhci-trace.h: No such file or directory
  10. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  11. ---
  12. drivers/usb/host/Makefile | 3 +++
  13. 1 file changed, 3 insertions(+)
  14. Index: linux-59dbf6a4998e967eb9c6bdcc9b506c0d96acb26b/drivers/usb/host/Makefile
  15. ===================================================================
  16. --- linux-59dbf6a4998e967eb9c6bdcc9b506c0d96acb26b.orig/drivers/usb/host/Makefile
  17. +++ linux-59dbf6a4998e967eb9c6bdcc9b506c0d96acb26b/drivers/usb/host/Makefile
  18. @@ -4,6 +4,9 @@
  19. ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
  20. +# tell define_trace.h where to find the xhci trace header
  21. +CFLAGS_xhci-trace.o := -I$(src)
  22. +
  23. isp1760-y := isp1760-hcd.o isp1760-if.o
  24. fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o