summaryrefslogtreecommitdiff
path: root/tstamping.h
blob: ccc642e32c20c75b8e722222003081aa11c5a9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 */
='35'>35space:mode:
authorNazar Mokrynskyi <nazar@mokrynskyi.com>2016-04-25 17:01:56 +0300
committerJiri Kosina <jkosina@suse.cz>2016-04-25 16:23:26 +0200
commit567a44ecb44eb2584ddb93e962cfb133ce77e0bb (patch)
tree16b039bf622688c80c0c5c185a0c6d64b54f38f3 /Documentation/devicetree
parente1123fe975852cc0970b4e53ea65ca917e54c923 (diff)
HID: Fix boot delay for Creative SB Omni Surround 5.1 with quirk
Needed for v2 of the device firmware, otherwise kernel will stuck for few seconds and throw "usb_submit_urb(ctrl) failed: -1" early on system boot. Signed-off-by: Nazar Mokrynskyi <nazar@mokrynskyi.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/devicetree')