summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-06-11 16:35:50 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-11 16:49:35 -0700
commit78b10615ad295393a7d66ea57218171c0a07c059 (patch)
tree5f5654b78d6af51d2d38baa498ad6652cf6fb74e /tools/perf/scripts/python/syscall-counts.py
parentafb6a6a01b51b6712485ea045e2b882061d250d9 (diff)
staging/comedi: fix build for USB not enabled
Calls to optional subsystems cannot be made indiscriminately. Enclose all of the usb helper functions inside #if IS_ENABLED(CONFIG_USB) to fix these build errors. (The pci helper functions are OK since there are stubs in linux/pci.h for the called functions when PCI is not enabled. Possibly the same could be done for the called USB functions.) ERROR: "usb_deregister" [drivers/staging/comedi/comedi.ko] undefined! ERROR: "usb_register_driver" [drivers/staging/comedi/comedi.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions