diff options
author | Guido Kiener <guido@kiener-muenchen.de> | 2018-09-12 10:51:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-20 13:04:02 +0200 |
commit | e013477bc20763e28d95d74e5ca97411194984ec (patch) | |
tree | 361e18404143db913a3e5cc2ab9f8e8b42cf3612 /Documentation | |
parent | usb: usbtmc: Replace USBTMC_TIMEOUT macros for control messages (diff) | |
download | linux-e013477bc20763e28d95d74e5ca97411194984ec.tar.xz linux-e013477bc20763e28d95d74e5ca97411194984ec.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions