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 */
lue='8'>8space:mode:
authorRandy Li <ayaka@soulik.info>2016-10-25 22:15:34 +0800
committerKishon Vijay Abraham I <kishon@ti.com>2016-11-05 13:45:02 +0530
commit98430c7aad6a3fdedcc78a0d6780dabb6580dc38 (patch)
tree90eca2558e17d5c19345fd019fe5fce2adb97e0b /Documentation/i2c/fault-codes
parent1001354ca34179f3db924eb66672442a173147dc (diff)
phy: Add reset callback for not generic phy
Add a dummy function for phy_reset in case the CONFIG_GENERIC_PHY is disabled. Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/i2c/fault-codes')