mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
#define cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1506 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
f578b6798c
commit
13a8f36a5b
1 file changed
+3
-1
@@ -186,14 +186,16 @@ static unsigned short piix4_smba = 0;
|
||||
/*
|
||||
* Get DMI information.
|
||||
*/
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,99)
|
||||
void dmi_scan_machine(void);
|
||||
#define IBM_SIGNATURE "IBM"
|
||||
#endif
|
||||
static int __init ibm_dmi_probe(void)
|
||||
{
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,99)
|
||||
extern int is_unsafe_smbus;
|
||||
return is_unsafe_smbus;
|
||||
#else
|
||||
#define IBM_SIGNATURE "IBM"
|
||||
dmi_scan_machine();
|
||||
if(dmi_ident[DMI_SYS_VENDOR] == NULL)
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user