From 6fa3f5df973de7c6d4b5c8aa81e90593ffe41cec Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Wed, 4 Sep 2002 12:01:24 +0000 Subject: [PATCH] set kernel version for is_unsafe_smbus to 2.5.34. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1521 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-piix4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/busses/i2c-piix4.c b/kernel/busses/i2c-piix4.c index 698353d9..659c7766 100644 --- a/kernel/busses/i2c-piix4.c +++ b/kernel/busses/i2c-piix4.c @@ -186,12 +186,12 @@ static unsigned short piix4_smba = 0; /* * Get DMI information. */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,99) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,34) void dmi_scan_machine(void); #endif static int __init ibm_dmi_probe(void) { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,99) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,34) extern int is_unsafe_smbus; return is_unsafe_smbus; #else