From: <far...@us...> - 2007-08-21 14:23:39
|
Revision: 1254 http://hackndev.svn.sourceforge.net/hackndev/?rev=1254&view=rev Author: farcaller Date: 2007-08-21 07:23:37 -0700 (Tue, 21 Aug 2007) Log Message: ----------- rt: fixed compilation bug with locks in led code Modified Paths: -------------- linux4palm/linux/branches/rt/drivers/leds/ledtrig-shared.c Modified: linux4palm/linux/branches/rt/drivers/leds/ledtrig-shared.c =================================================================== --- linux4palm/linux/branches/rt/drivers/leds/ledtrig-shared.c 2007-08-21 14:11:59 UTC (rev 1253) +++ linux4palm/linux/branches/rt/drivers/leds/ledtrig-shared.c 2007-08-21 14:23:37 UTC (rev 1254) @@ -40,7 +40,7 @@ if (!trig) return; - read_lock(trig->trigger.leddev_list_lock); + read_lock(&trig->trigger.leddev_list_lock); if (b == LED_FULL) { trig->cnt++; } @@ -55,7 +55,7 @@ led_set_brightness(led_cdev, b); } return_unlock: - read_unlock(trig->trigger.leddev_list_lock); + read_unlock(&trig->trigger.leddev_list_lock); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |