diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-07-04 11:53:51 +0200 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-08-21 17:21:16 +0200 |
commit | 84d6642e4d1609562abb421341c9a90c023247a1 (patch) | |
tree | ffcc2b23e887c7d5615303067978e185e67072cc /compat/compat-3.5.c | |
parent | 52409fae3e4b8d16b68b61902fc09075cd97b75d (diff) |
backports:fix compilation with toradex kernels
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'compat/compat-3.5.c')
-rw-r--r-- | compat/compat-3.5.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/compat-3.5.c b/compat/compat-3.5.c index de31228..8146803 100644 --- a/compat/compat-3.5.c +++ b/compat/compat-3.5.c @@ -67,6 +67,8 @@ EXPORT_SYMBOL_GPL(overflowuid); EXPORT_SYMBOL_GPL(overflowgid); #endif +#if 0 +/* backported to all of our kernels */ #if IS_ENABLED(CONFIG_PTP_1588_CLOCK) int ptp_clock_index(struct ptp_clock *ptp) { @@ -74,6 +76,7 @@ int ptp_clock_index(struct ptp_clock *ptp) } EXPORT_SYMBOL(ptp_clock_index); #endif /* CONFIG_PTP_1588_CLOCK */ +#endif #ifdef CONFIG_GPIOLIB static void devm_gpio_release(struct device *dev, void *res) |