summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/adm1026
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-08-26 18:14:30 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-08-26 18:14:30 +0000
commit62b3513d63088ce7c0b324e2a6a88e31fec5a328 (patch)
tree19153d9347f42b71e4bda57fa5667b95031373f0 /src/drivers/i2c/adm1026
parentbca3b92df2b4af91d08a7bde76e4a98a9671d946 (diff)
downloadcoreboot-62b3513d63088ce7c0b324e2a6a88e31fec5a328.tar.xz
Remove a couple of CONFIG_ prefixes that shouldn't have happened.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4588 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/drivers/i2c/adm1026')
-rw-r--r--src/drivers/i2c/adm1026/adm1026.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/adm1026/adm1026.c b/src/drivers/i2c/adm1026/adm1026.c
index 5f9e4bd9c0..9869100823 100644
--- a/src/drivers/i2c/adm1026/adm1026.c
+++ b/src/drivers/i2c/adm1026/adm1026.c
@@ -17,7 +17,7 @@
#define CFG1_THERM_HOT 0x10
#define CFT1_DAC_AFC 0x20
#define CFG1_PWM_AFC 0x40
-#define CFG1CONFIG_RESET 0x80
+#define CFG1_RESET 0x80
#define ADM1026_REG_CONFIG2 0x01
#define ADM1026_REG_CONFIG3 0x07
@@ -40,7 +40,7 @@ static void adm1026_enable_monitoring(device_t dev)
int result;
result = smbus_read_byte(dev, ADM1026_REG_CONFIG1);
- result = (result | CFG1_MONITOR) & ~(CFG1_INT_CLEAR | CFG1CONFIG_RESET);
+ result = (result | CFG1_MONITOR) & ~(CFG1_INT_CLEAR | CFG1_RESET);
result = smbus_write_byte(dev, ADM1026_REG_CONFIG1, result);
result = smbus_read_byte(dev, ADM1026_REG_CONFIG1);