projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b66870f
)
backports: fix build if CONFIG_PTP_1588_CLOCK=m
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 31 May 2014 13:34:55 +0000
(15:34 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:18 +0000
(
00:16
+0200)
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>
backport/compat/compat-3.5.c
patch
|
blob
|
history
diff --git
a/backport/compat/compat-3.5.c
b/backport/compat/compat-3.5.c
index f9590d730b20e4a6635374118ea5157d8b976ff8..2727eb323b9c801d0a4978f1568ba6d8bb895daa 100644
(file)
--- 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
-#if
def CONFIG_PTP_1588_CLOCK
+#if
IS_ENABLED(CONFIG_PTP_1588_CLOCK)
int ptp_clock_index(struct ptp_clock *ptp)
{
return ptp->index;