diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-05-31 15:34:55 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-06-02 00:16:18 +0200 |
commit | f9394bb11e68f55ac3073fb40842c989b2cc27f8 (patch) | |
tree | 0297b58ac1bdba7cce2e2ead707d4f2a74e4171b | |
parent | b66870f7b3d7b0c2f7c2697f714e57d51a4e40b4 (diff) |
backports: fix build if CONFIG_PTP_1588_CLOCK=m
ifdef just checked if this was build into the kernel and not if it was
build as a module.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/compat/compat-3.5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/compat/compat-3.5.c b/backport/compat/compat-3.5.c index f9590d73..2727eb32 100644 --- a/backport/compat/compat-3.5.c +++ b/backport/compat/compat-3.5.c @@ -66,7 +66,7 @@ EXPORT_SYMBOL_GPL(overflowuid); EXPORT_SYMBOL_GPL(overflowgid); #endif -#ifdef CONFIG_PTP_1588_CLOCK +#if IS_ENABLED(CONFIG_PTP_1588_CLOCK) int ptp_clock_index(struct ptp_clock *ptp) { return ptp->index; |