瀏覽代碼

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;