aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ds.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 06:27:56 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:34:36 -0400
commit9c8b7965f594fdff37c59446b9314ed7b4b44d07 (patch)
treead9d562c0f70c5b7723f7eda15b39d57da85755b /include/pcmcia/ds.h
parent3f9c5f4cb7e00d424a56a6431e9c98b3b17851e4 (diff)
pcmcia: remove CS_ error codes alltogether
Remoe the CS_ error codes. Drivers are expected to use default error definitions (errno.h etc.). Only one CS_ error code -- CS_IN_USE -- is used internally by the (deprecated) pcmcia-cs userspace package. Therefore, keep this one around so that it still compiles. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r--include/pcmcia/ds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index a06bbec386bd..9ff9de9ec3f0 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -138,6 +138,9 @@ typedef union ds_ioctl_arg_t {
138#define DS_UNBIND_REQUEST _IOW ('d', 63, bind_info_t) 138#define DS_UNBIND_REQUEST _IOW ('d', 63, bind_info_t)
139#define DS_BIND_MTD _IOWR('d', 64, mtd_info_t) 139#define DS_BIND_MTD _IOWR('d', 64, mtd_info_t)
140 140
141/* used in userspace only */
142#define CS_IN_USE 0x1e
143
141#ifdef __KERNEL__ 144#ifdef __KERNEL__
142#include <linux/device.h> 145#include <linux/device.h>
143#include <pcmcia/ss.h> 146#include <pcmcia/ss.h>