mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Define min_t if needed (ticket #1504).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2352 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d3d6231f3c
commit
83bf546473
2 files changed
+10
No files matched your search
@@ -25,6 +25,11 @@
|
||||
#error Your i2c is too old - i2c-2.7.0 or greater required!
|
||||
#endif
|
||||
|
||||
/* kernel 2.4.9 needs this */
|
||||
#ifndef min_t
|
||||
#define min_t(type,x,y) min(type,x,y)
|
||||
#endif
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR ("Vojtech Pavlik <vojtech@suse.cz>");
|
||||
MODULE_DESCRIPTION("AMD8111 SMBus 2.0 driver");
|
||||
|
||||
@@ -44,6 +44,11 @@
|
||||
#include <asm/io.h>
|
||||
#include "version.h"
|
||||
|
||||
/* kernel 2.4.9 needs this */
|
||||
#ifndef min_t
|
||||
#define min_t(type,x,y) min(type,x,y)
|
||||
#endif
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR ("Hans-Frieder Vogt <hfvogt@arcor.de>");
|
||||
MODULE_DESCRIPTION("nForce2 SMBus driver");
|
||||
|
||||
Reference in new issue
Block a user