cfg80211: errno.h: define ERFKILL
authorAlexander Beregalov <a.beregalov@gmail.com>
Sun, 7 Jun 2009 12:01:00 +0000 (05:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2009 12:01:00 +0000 (05:01 -0700)
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>
arch/alpha/include/asm/errno.h
arch/mips/include/asm/errno.h
arch/parisc/include/asm/errno.h
arch/sparc/include/asm/errno.h

index 69e2655249d295ee6b891c98b61d2c24297cf2ef..98099bda937069958f4722715cb4cc16af4398e4 100644 (file)
 #define        EOWNERDEAD      136     /* Owner died */
 #define        ENOTRECOVERABLE 137     /* State not recoverable */
 
+#define        ERFKILL         138     /* Operation not possible due to RF-kill */
+
 #endif
index 3c0d840e45773e867980116affb51aae255273f5..a0efc73819e4ae832f9b60dd351fb0fcfb37825c 100644 (file)
 #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__
index e2f3ddc796be0082a685c43a40a1e42c10a69357..9992abdd782da1fa2edc1ce9231273c93abcaaa5 100644 (file)
 #define EOWNERDEAD     254     /* Owner died */
 #define ENOTRECOVERABLE        255     /* State not recoverable */
 
+#define        ERFKILL         256     /* Operation not possible due to RF-kill */
 
 #endif
index a9ef172977de30856cc1f54dfa05363a99a0e383..4e2bc490d71412aea2db9428604612143ce74003 100644 (file)
 #define        EOWNERDEAD      132     /* Owner died */
 #define        ENOTRECOVERABLE 133     /* State not recoverable */
 
+#define        ERFKILL         134     /* Operation not possible due to RF-kill */
+
 #endif