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 */
on value='10'>10space:mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-10-15 21:17:16 +0200
committerMark Brown <broonie@kernel.org>2016-10-24 18:40:11 +0100
commit0f40132d5d68a3226085013e24ac02aa37586850 (patch)
tree6a270d73cdf9df2da5817d29f223b7bcf776e59a /Documentation/i2c/fault-codes
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ASoC: es8328: Remove some unused defines
The es8328 drivers seems to have used the wm8753 driver as a template. Its header file contains a few defines that are copied verbatim from the wm8753 header that do not really apply to this driver and are unused. So remove those defines. This seems safe as they deal with PLL and clock divider settings and the es8328 driver neither implements a set_pll() nor a set_clkdiv() callback. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')