diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2014-07-18 13:53:07 +0900 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-07-18 07:15:27 +0200 |
commit | 680638efcc1a3adc897ce8f9fc426455327f7ff5 (patch) | |
tree | 20f04c2e87dc7005a8cb3fe6f7e11cf293c8d6ea | |
parent | f99e5a582a77585beeb2507bd9d729c3d82682d6 (diff) | |
download | linux-3.10-680638efcc1a3adc897ce8f9fc426455327f7ff5.tar.gz linux-3.10-680638efcc1a3adc897ce8f9fc426455327f7ff5.tar.bz2 linux-3.10-680638efcc1a3adc897ce8f9fc426455327f7ff5.zip |
hwmon: pwm-fan: fix build error
This fixes below build error.
CC drivers/hwmon/pwm-fan.o
drivers/hwmon/pwm-fan.c: In function ‘pwm_fan_remove’:
drivers/hwmon/pwm-fan.c:155:20: error: ‘struct pwm_fan_ctx’ has no member named ‘mutex’
mutex_destroy(&ctx->mutex);
^
make[2]: *** [drivers/hwmon/pwm-fan.o] Error 1
Change-Id: I442ba2698869d1573662c237e67e53c2e3d6a276
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
-rw-r--r-- | drivers/hwmon/pwm-fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index 666568c50b8..d5421c023b4 100644 --- a/drivers/hwmon/pwm-fan.c +++ b/drivers/hwmon/pwm-fan.c @@ -152,7 +152,7 @@ static int pwm_fan_remove(struct platform_device *pdev) if (ctx->pwm_value) pwm_disable(ctx->pwm); - mutex_destroy(&ctx->mutex); + mutex_destroy(&ctx->lock); return 0; } |