rfkill: include err.h
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 10 Jun 2009 00:49:06 +0000 (17:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jun 2009 00:49:06 +0000 (17:49 -0700)
Since we use ERR_PTR and similar macros, we need to include
linux/err.h.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rfkill.h

index ee3edde..d7e818a 100644 (file)
@@ -105,6 +105,7 @@ enum rfkill_user_states {
 #include <linux/mutex.h>
 #include <linux/device.h>
 #include <linux/leds.h>
+#include <linux/err.h>
 
 /* this is opaque */
 struct rfkill;