Skip to content

Commit

Permalink
rfkill: include err.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and David S. Miller committed Jun 10, 2009
1 parent 25b0b99 commit 1506e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/rfkill.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1506e30

Please sign in to comment.