diff options
-rw-r--r-- | drivers/hwmon/s3c-hwmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c index 71835412529f..3f3f9a47acfd 100644 --- a/drivers/hwmon/s3c-hwmon.c +++ b/drivers/hwmon/s3c-hwmon.c | |||
@@ -323,7 +323,7 @@ static int __devinit s3c_hwmon_probe(struct platform_device *dev) | |||
323 | } | 323 | } |
324 | 324 | ||
325 | for (i = 0; i < ARRAY_SIZE(pdata->in); i++) { | 325 | for (i = 0; i < ARRAY_SIZE(pdata->in); i++) { |
326 | struct s3c24xx_adc_hwmon_incfg *cfg = pdata->in[i]; | 326 | struct s3c_hwmon_chcfg *cfg = pdata->in[i]; |
327 | 327 | ||
328 | if (!cfg) | 328 | if (!cfg) |
329 | continue; | 329 | continue; |
@@ -333,7 +333,7 @@ static int __devinit s3c_hwmon_probe(struct platform_device *dev) | |||
333 | "channel %d multiplier too large\n", | 333 | "channel %d multiplier too large\n", |
334 | i); | 334 | i); |
335 | 335 | ||
336 | if (cfg->divider == 0) { | 336 | if (cfg->div == 0) { |
337 | dev_err(&dev->dev, "channel %d divider zero\n", i); | 337 | dev_err(&dev->dev, "channel %d divider zero\n", i); |
338 | continue; | 338 | continue; |
339 | } | 339 | } |