summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/errno.h
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-06-07 05:01:00 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-07 05:01:00 -0700
commit7d217d7ffc3433d8b157e1fb6c68a07197a182d5 (patch)
tree559bea1ef29f23b722ed7b7a946f3b96cfd06bb0 /arch/sparc/include/asm/errno.h
parentb1bc81a0ef86b86fa410dd303d84c8c7bd09a64d (diff)
cfg80211: errno.h: define ERFKILL
Commit 1f87f7d3 (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>
Diffstat (limited to 'arch/sparc/include/asm/errno.h')
-rw-r--r--arch/sparc/include/asm/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/errno.h b/arch/sparc/include/asm/errno.h
index a9ef172977d..4e2bc490d71 100644
--- a/arch/sparc/include/asm/errno.h
+++ b/arch/sparc/include/asm/errno.h
@@ -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