Fix compilation broken by previous patch.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2854 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-01-20 19:48:55 +00:00
1 parent ba51b5f66e
commit 89c7dabb13
1 file changed
+5 -5
+5 -5
View File
@@ -213,15 +213,15 @@ int ds1621_detect(struct i2c_adapter *adapter, int address,
temp = ds1621_read_value(new_client,
DS1621_REG_TEMP);
if (temp & 0x007f)
goto exit_free;
goto ERROR1;
temp = ds1621_read_value(new_client,
DS1621_REG_TEMP_MIN);
DS1621_REG_TEMP_HYST);
if (temp & 0x007f)
goto exit_free;
goto ERROR1;
temp = ds1621_read_value(new_client,
DS1621_REG_TEMP_MAX);
DS1621_REG_TEMP_OVER);
if (temp & 0x007f)
goto exit_free;
goto ERROR1;
}
/* Determine the chip type - only one kind supported! */