[PATCH] leds: add missing header

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <rpurdie@...>, LKML <linux-kernel@...>
Date: Sunday, September 23, 2007 - 2:14 am

rwlocks are used in the structures so make sure the right header
is included.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>

diff --git a/include/linux/leds.h b/include/linux/leds.h
index 4211750..6518c32 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -13,6 +13,7 @@
 #define __LINUX_LEDS_H_INCLUDED
 
 #include <linux/list.h>
+#include <linux/rwsem.h>
 
 struct device;
 /*


-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] leds: add missing header, Pierre Ossman, (Sun Sep 23, 2:14 am)
Re: [PATCH] leds: add missing header, Richard Purdie, (Mon Sep 24, 7:09 pm)
Re: [PATCH] leds: add missing header, Pierre Ossman, (Tue Sep 25, 1:23 am)