#define cleanup

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1506 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2002-08-25 17:23:22 +00:00
1 parent f578b6798c
commit 13a8f36a5b
1 file changed
+3 -1
+3 -1
View File
@@ -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;