[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / omap24xx / patches-3.1 / 251-cbus-tahvo-lock-fix.patch
1 --- a/drivers/cbus/tahvo.c
2 +++ b/drivers/cbus/tahvo.c
3 @@ -104,7 +104,9 @@ void tahvo_write_reg(struct device *chil
4 {
5 struct tahvo *tahvo = dev_get_drvdata(child->parent);
6
7 + mutex_lock(&tahvo->mutex);
8 __tahvo_write_reg(tahvo, reg, val);
9 + mutex_unlock(&tahvo->mutex);
10 }
11 EXPORT_SYMBOL(tahvo_write_reg);
12
This page took 0.03727 seconds and 5 git commands to generate.