aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-09 18:26:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-09 18:26:51 -0800
commit1c9dbd4615fd751e5e0b99807a3c7c8612e28e20 (patch)
tree3960ffcd424c9b61c485d6cc2966440c67f15485 /include/linux/sysctl.h
parentMerge tag 'pci-v4.14-fixes-7' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (diff)
parentMAINTAINERS: update TPM driver infrastructure changes (diff)
downloadlinux-dev-1c9dbd4615fd751e5e0b99807a3c7c8612e28e20.tar.xz
linux-dev-1c9dbd4615fd751e5e0b99807a3c7c8612e28e20.zip
Merge branch 'akpm' (patches from Andrew)
Merge misc fixes from Andrew Morton: "2 fixes" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: MAINTAINERS: update TPM driver infrastructure changes sysctl: add register_sysctl() dummy helper
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 74f91eefeccf..b769ecfcc3bd 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -213,6 +213,11 @@ static inline struct ctl_table_header *register_sysctl_paths(
return NULL;
}
+static inline struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table)
+{
+ return NULL;
+}
+
static inline void unregister_sysctl_table(struct ctl_table_header * table)
{
}