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 ee3eddea85681c940cfbb4c7d819bb14f5bc5eca..d7e818ad0bc42b2ba986543252b93817f2fb49ed 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;