summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL4
-rw-r--r--QUICKSTART3
-rw-r--r--README2
-rw-r--r--kernel/sensors.c2
4 files changed, 9 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 2bcf8b54..74a38b97 100644
--- a/INSTALL
+++ b/INSTALL
@@ -115,6 +115,10 @@ somewhat, not the files in /usr/include/{linux,asm} are used, but instead
those in /usr/src/linux/include/{linux,asm}. It is also possible to
tell the Makefile the kernel is somewhere else than at /usr/src/linux.
+To keep problems to a minimum, please use a 'vanilla' kernel tree,
+as distributed on ftp://ftp.kernel/org/pub/linux/kernel, and not one
+patched by your distribution.
+
Separate from kernel compilation (compilation option 1)
=======================================================
diff --git a/QUICKSTART b/QUICKSTART
index f370f100..9291a4b4 100644
--- a/QUICKSTART
+++ b/QUICKSTART
@@ -5,7 +5,8 @@ system, and may cause problems.
Quickstart:
* Make sure you have the kernel tree corresponding to your current
kernel in /usr/src/linux. Distribution kernels usually won't do,
- compile your own.
+ compile your own from a 'vanilla' tree (get one from
+ ftp://ftp.kernel/org/pub/linux/kernel/).
* Install the i2c package. This won't do any harm, even if use a very
recent 2.3 or 2.4 kernel, though it may be unnecessary
* Do a `make' followed by a `make install'. The warnings about .d
diff --git a/README b/README
index 8efd1967..5c65873f 100644
--- a/README
+++ b/README
@@ -23,7 +23,7 @@ but you may need to download it separately at:
http://www.netroedge.com/~lm78
Users of kernel 2.3.34 and later (and also all soon to be 2.4.x) kernels
will be happy to know that the new I2C implementation has been included
-in the kernel, but you can still patch it with the latest version
+in the kernel; you can still patch it with the latest version
(see i2c/mkpatch/mkpatch.pl), but this is optional.
WARNING! The default module installation directory changed since version
diff --git a/kernel/sensors.c b/kernel/sensors.c
index 27554982..9f75e53c 100644
--- a/kernel/sensors.c
+++ b/kernel/sensors.c
@@ -866,12 +866,14 @@ int __init sensors_init(void)
if (!
(sensors_proc_header =
register_sysctl_table(sensors_proc, 0))) return -ENOMEM;
+#if 0
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,1))
sensors_proc_header->ctl_table->child->de->owner = THIS_MODULE;
#else
sensors_proc_header->ctl_table->child->de->fill_inode =
&sensors_fill_inode;
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,1)) */
+#endif
sensors_initialized++;
return 0;
}