Skip to content

Commit

Permalink
cfg80211: errno.h: define ERFKILL
Browse files Browse the repository at this point in the history
Commit 1f87f7d (cfg80211: add rfkill support) added ERFKILL
to asm-generic/errno.h, but alpha, mips, parisc and sparc use
their own numbering scheme and do not include asm-generic/errno.h.
We need to add definition of ERFKILL for them.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexander Beregalov authored and David S. Miller committed Jun 7, 2009
1 parent b1bc81a commit 7d217d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/alpha/include/asm/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,6 @@
#define EOWNERDEAD 136 /* Owner died */
#define ENOTRECOVERABLE 137 /* State not recoverable */

#define ERFKILL 138 /* Operation not possible due to RF-kill */

#endif
2 changes: 2 additions & 0 deletions arch/mips/include/asm/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@
#define EOWNERDEAD 165 /* Owner died */
#define ENOTRECOVERABLE 166 /* State not recoverable */

#define ERFKILL 167 /* Operation not possible due to RF-kill */

#define EDQUOT 1133 /* Quota exceeded */

#ifdef __KERNEL__
Expand Down
1 change: 1 addition & 0 deletions arch/parisc/include/asm/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@
#define EOWNERDEAD 254 /* Owner died */
#define ENOTRECOVERABLE 255 /* State not recoverable */

#define ERFKILL 256 /* Operation not possible due to RF-kill */

#endif
2 changes: 2 additions & 0 deletions arch/sparc/include/asm/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,6 @@
#define EOWNERDEAD 132 /* Owner died */
#define ENOTRECOVERABLE 133 /* State not recoverable */

#define ERFKILL 134 /* Operation not possible due to RF-kill */

#endif

0 comments on commit 7d217d7

Please sign in to comment.