diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-02-19 04:37:34 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-02-19 20:34:17 -0500 |
commit | 4626dcff78a70258f0064fbdd6d504249f918bcd (patch) | |
tree | 9bcb4152d74117df70ae28c71d600a8044f6fb45 | |
parent | e46e5dc2b2f364b5192a5878267239b8c8979ba2 (diff) |
hwmon: (ntc_thermistor): Fix sparse warnings
Fixes the following sparse warnings:
drivers/hwmon/ntc_thermistor.c:46:31: warning:
symbol 'ncpXXwb473' was not declared. Should it be static?
drivers/hwmon/ntc_thermistor.c:82:31: warning:
symbol 'ncpXXwl333' was not declared. Should it be static?
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r-- | drivers/hwmon/ntc_thermistor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c index a87eb8986e36..b5f63f9c0ce1 100644 --- a/drivers/hwmon/ntc_thermistor.c +++ b/drivers/hwmon/ntc_thermistor.c | |||
@@ -43,7 +43,7 @@ struct ntc_compensation { | |||
43 | * The following compensation tables are from the specification of Murata NTC | 43 | * The following compensation tables are from the specification of Murata NTC |
44 | * Thermistors Datasheet | 44 | * Thermistors Datasheet |
45 | */ | 45 | */ |
46 | const struct ntc_compensation ncpXXwb473[] = { | 46 | static const struct ntc_compensation ncpXXwb473[] = { |
47 | { .temp_C = -40, .ohm = 1747920 }, | 47 | { .temp_C = -40, .ohm = 1747920 }, |
48 | { .temp_C = -35, .ohm = 1245428 }, | 48 | { .temp_C = -35, .ohm = 1245428 }, |
49 | { .temp_C = -30, .ohm = 898485 }, | 49 | { .temp_C = -30, .ohm = 898485 }, |
@@ -79,7 +79,7 @@ const struct ntc_compensation ncpXXwb473[] = { | |||
79 | { .temp_C = 120, .ohm = 1615 }, | 79 | { .temp_C = 120, .ohm = 1615 }, |
80 | { .temp_C = 125, .ohm = 1406 }, | 80 | { .temp_C = 125, .ohm = 1406 }, |
81 | }; | 81 | }; |
82 | const struct ntc_compensation ncpXXwl333[] = { | 82 | static const struct ntc_compensation ncpXXwl333[] = { |
83 | { .temp_C = -40, .ohm = 1610154 }, | 83 | { .temp_C = -40, .ohm = 1610154 }, |
84 | { .temp_C = -35, .ohm = 1130850 }, | 84 | { .temp_C = -35, .ohm = 1130850 }, |
85 | { .temp_C = -30, .ohm = 802609 }, | 85 | { .temp_C = -30, .ohm = 802609 }, |