mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user