From 53befd189cb749d1755a15408b3870695ea10130 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Mon, 19 Mar 2001 23:56:55 +0000 Subject: [PATCH] use normal_i2c[] instead of normal_i2c_range[] since only one address. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1037 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/ddcmon.c | 4 ++-- kernel/chips/icspll.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/chips/ddcmon.c b/kernel/chips/ddcmon.c index 4ce85c29..afdd39a9 100644 --- a/kernel/chips/ddcmon.c +++ b/kernel/chips/ddcmon.c @@ -39,8 +39,8 @@ #endif /* Addresses to scan */ -static unsigned short normal_i2c[] = { SENSORS_I2C_END }; -static unsigned short normal_i2c_range[] = { 0x50, 0x50, SENSORS_I2C_END }; +static unsigned short normal_i2c[] = { 0x50, SENSORS_I2C_END }; +static unsigned short normal_i2c_range[] = { SENSORS_I2C_END }; static unsigned int normal_isa[] = { SENSORS_ISA_END }; static unsigned int normal_isa_range[] = { SENSORS_ISA_END }; diff --git a/kernel/chips/icspll.c b/kernel/chips/icspll.c index 3ae05412..af0d8983 100644 --- a/kernel/chips/icspll.c +++ b/kernel/chips/icspll.c @@ -50,8 +50,8 @@ /* Addresses to scan */ #define ADDRESS 0x69 -static unsigned short normal_i2c[] = { SENSORS_I2C_END }; -static unsigned short normal_i2c_range[] = {ADDRESS, ADDRESS, SENSORS_I2C_END}; +static unsigned short normal_i2c[] = { ADDRESS, SENSORS_I2C_END }; +static unsigned short normal_i2c_range[] = { SENSORS_I2C_END }; static unsigned int normal_isa[] = { SENSORS_ISA_END }; static unsigned int normal_isa_range[] = { SENSORS_ISA_END };