Преглед изворни кода

rfkill: include err.h

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>
Johannes Berg пре 16 година
родитељ
комит
1506e30b5f
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      include/linux/rfkill.h

+ 1 - 0
include/linux/rfkill.h

@@ -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;