VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Richard A. Holden III <aciddeath@gmail.com> 2009-01-07 18:07:28 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-01-08 08:31:01 -0800 commit: 87d1fda5e2ff6527740604a7918fc273b6f9ae13 parent: 1579c3a15c06055713b42b077b805f818638302c
Commit Summary:
coda: fix fs/coda/sysctl.c build warnings when !CONFIG_SYSCTL
Diffstat:
1 file changed, 4 insertions, 1 deletion
diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c
index 81b7771c6465..43c96ce29614 100644
--- a/fs/coda/sysctl.c
+++ b/fs/coda/sysctl.c
@@ -11,7 +11,9 @@
 
 #include "coda_int.h"
 
+#ifdef CONFIG_SYSCTL
 static struct ctl_table_header *fs_table_header;
+#endif
 
 static ctl_table coda_table[] = {
 	{
@@ -41,6 +43,7 @@ static ctl_table coda_table[] = {
 	{}
 };
 
+#ifdef CONFIG_SYSCTL
 static ctl_table fs_table[] = {
 	{
 		.ctl_name	= CTL_UNNUMBERED,
@@ -50,7 +53,7 @@ static ctl_table fs_table[] = {
 	},
 	{}
 };
-
+#endif
 
 void coda_sysctl_init(void)
 {