#ifndef TSTAMPING_H #define TSTAMPING_H #include "config.h" #ifdef HAVE_HARDWARE_TIMESTAMPING extern int set_sockopt_hwtimestamp(int sock, const char *dev); #else static inline int set_sockopt_hwtimestamp(int sock, const char *dev) { return -1; } #endif #endif /* TSTAMPING_H */ it.distanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-12-23 21:26:53 +0800
committerJiri Kosina <jkosina@suse.cz>2015-12-28 13:13:20 +0100
commit7775fb929d959eade7c705e27a0a759997463da8 (patch)
treeb2f9de38cef0bc65424150fb494da57232b59dbd /Documentation
parente3fed74894c725fb85d7315aa0c01df9b59b7a9d (diff)
HID: usbhid: use to_usb_device
Use to_usb_device() instead of open-coding it. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation')