From 89c7dabb1319d3e0d8dbb7955d48dbc3cd5f9c48 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 20 Jan 2005 19:48:55 +0000 Subject: [PATCH] Fix compilation broken by previous patch. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2854 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/ds1621.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/chips/ds1621.c b/kernel/chips/ds1621.c index 5925338f..4b87150b 100644 --- a/kernel/chips/ds1621.c +++ b/kernel/chips/ds1621.c @@ -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! */