summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-02-18 15:24:56 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-02-23 12:34:27 +0100
commit54f492fc0e44ad0f61ecb8aa6fc2d84c631eacad (patch)
tree814e2419cc16c7cfd77f0086fd20cc492b5197cb /backport
parentf937e61a9ab583fe6665875971c55447ffb3a378 (diff)
backports: fix typo "TIMKEEPING" and fix gfp.h
There is a typo in the timekeeping.h backport, fix that. Additionally, fix the gfp.h file tha has a copy/paste issue where __BACKPORT_TIMKEEPING_H is used instead of __BACKPORT_LINUX_GFP_H. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r--backport/backport-include/linux/gfp.h2
-rw-r--r--backport/backport-include/linux/timekeeping.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/backport/backport-include/linux/gfp.h b/backport/backport-include/linux/gfp.h
index b4db7bb9..42f818f1 100644
--- a/backport/backport-include/linux/gfp.h
+++ b/backport/backport-include/linux/gfp.h
@@ -10,4 +10,4 @@
#define __GFP_KSWAPD_RECLAIM ((__force gfp_t)___GFP_KSWAPD_RECLAIM) /* kswapd can wake */
#endif
-#endif /* __BACKPORT_TIMKEEPING_H */
+#endif /* __BACKPORT_LINUX_GFP_H */
diff --git a/backport/backport-include/linux/timekeeping.h b/backport/backport-include/linux/timekeeping.h
index b683d129..0b9c649a 100644
--- a/backport/backport-include/linux/timekeeping.h
+++ b/backport/backport-include/linux/timekeeping.h
@@ -1,5 +1,5 @@
-#ifndef __BACKPORT_TIMKEEPING_H
-#define __BACKPORT_TIMKEEPING_H
+#ifndef __BACKPORT_TIMEKEEPING_H
+#define __BACKPORT_TIMEKEEPING_H
#include <linux/version.h>
#include <linux/types.h>
@@ -35,4 +35,4 @@ static inline time64_t ktime_get_seconds(void)
}
#endif
-#endif /* __BACKPORT_TIMKEEPING_H */
+#endif /* __BACKPORT_TIMEKEEPING_H */