diff options
| author | Pavel Roskin <proski@org.rmk.(none)> | 2003-04-23 22:51:31 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2003-04-23 22:51:31 +0100 |
| commit | 561bd7b71ec5a945c12184d3fcfde75c983bcbbd (patch) | |
| tree | dcf23d49d0df219d93436018652538114a613b67 /include | |
| parent | ca49321fb6092b9cf73bd76b61a3ebfbbcdf57c9 (diff) | |
[PCMCIA] Fix compilation of cardmgr
Patch from Pavel Roskin
ds.h should not be including linux/device.h when compiling userspace
code.
Diffstat (limited to 'include')
| -rw-r--r-- | include/pcmcia/ds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index dd4700b8aea5..87c8e809915b 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -31,7 +31,6 @@ #define _LINUX_DS_H #include <pcmcia/bulkmem.h> -#include <linux/device.h> #include <pcmcia/cs_types.h> typedef struct tuple_parse_t { @@ -107,6 +106,7 @@ typedef union ds_ioctl_arg_t { #define DS_BIND_MTD _IOWR('d', 64, mtd_info_t) #ifdef __KERNEL__ +#include <linux/device.h> typedef struct dev_node_t { char dev_name[DEV_NAME_LEN]; |
