]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (s3c-hwmon) Fix build error
authorBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 19:35:45 +0000 (20:35 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:45 +0000 (20:35 +0100)
commita4c109a096e63de3d2911bdf46f6ffd00fade88e
treebd4cca80ee3ad4a75c4b5a52589ed6332af4e2dd
parentf1b4b05fd49230caf54a22845feb178d06a850e5
hwmon: (s3c-hwmon) Fix build error

The previous patch, commit 1edd828d8b4b0d06e9171027a2d9c1eb634c1339 was
from the wrong tree and thus broke the current build which had the
channel configuration name changed.

Fix the following build errors:

drivers/hwmon/s3c-hwmon.c: In function 's3c_hwmon_probe':
drivers/hwmon/s3c-hwmon.c:326: warning: initialization from incompatible pointer type
drivers/hwmon/s3c-hwmon.c:331: error: dereferencing pointer to incomplete type
drivers/hwmon/s3c-hwmon.c:336: error: dereferencing pointer to incomplete type

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/s3c-hwmon.c