linux/drivers/usb/class
Guido Kiener e013477bc2 usb: usbtmc: Add ioctl USBTMC_IOCTL_API_VERSION
Add ioctl USBTMC_IOCTL_API_VERSION to get current API version
of usbtmc driver.

This is to allow an instrument library to determine whether
the driver API is compatible with the implementation.

The API may change in future versions. Therefore the macro
USBTMC_API_VERSION should be incremented when changing tmc.h
with new flags, ioctls or when changing a significant behavior
of the driver.

Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com>
Reviewed-by: Steve Bayless <steve_bayless@keysight.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-20 13:04:02 +02:00
..
cdc-acm.c Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-10 20:40:29 +02:00
cdc-acm.h Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-10 20:40:29 +02:00
cdc-wdm.c usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt() 2018-09-05 14:48:40 +02:00
Kconfig usb: fix some references for /proc/bus/usb 2017-04-18 16:54:19 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
usblp.c usb: usblp: use irqsave() in USB's complete callback 2018-06-28 19:36:06 +09:00
usbtmc.c usb: usbtmc: Add ioctl USBTMC_IOCTL_API_VERSION 2018-09-20 13:04:02 +02:00