X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fleds.h;h=b4130ff58d0c1be1543c21281e7189a7383834a5;hb=e5dfb815181fcb186d6080ac3a091eadff2d98fe;hp=dc1178f6184b1480da56a11eeba46bc0f2cc2b14;hpb=f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/leds.h b/include/linux/leds.h index dc1178f6184..b4130ff58d0 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -14,6 +14,7 @@ #include #include +#include struct device; /* @@ -43,7 +44,7 @@ struct led_classdev { #ifdef CONFIG_LEDS_TRIGGERS /* Protects the trigger data below */ - rwlock_t trigger_lock; + struct rw_semaphore trigger_lock; struct led_trigger *trigger; struct list_head trig_list;