mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-21 19:51:45 +00:00
A few files not committed for some reason in the previous run
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@641 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
52b2ce8f52
commit
9951d5c9d0
2 files changed
+12
No files matched your search
@@ -740,6 +740,15 @@ sub main
|
||||
|
||||
EOF
|
||||
|
||||
if (`grep THIS_MODULE "$package_root/$package_file"`) {
|
||||
print OUTPUT << 'EOF';
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,13)
|
||||
/* This is safe, because we won't use it for any kernels below 2.3.27 */
|
||||
#define THIS_MODULE NULL
|
||||
#endif
|
||||
|
||||
EOF
|
||||
}
|
||||
if (`grep KERNEL_VERSION "$package_root/$package_file"`) {
|
||||
print OUTPUT << 'EOF';
|
||||
#include <linux/version.h>
|
||||
|
||||
Reference in new issue
Block a user