Commit 561bd7b7 authored by Pavel Roskin's avatar Pavel Roskin Committed by Russell King

[PCMCIA] Fix compilation of cardmgr

Patch from Pavel Roskin

ds.h should not be including linux/device.h when compiling userspace
code.
parent ca49321f
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#define _LINUX_DS_H #define _LINUX_DS_H
#include <pcmcia/bulkmem.h> #include <pcmcia/bulkmem.h>
#include <linux/device.h>
#include <pcmcia/cs_types.h> #include <pcmcia/cs_types.h>
typedef struct tuple_parse_t { typedef struct tuple_parse_t {
...@@ -107,6 +106,7 @@ typedef union ds_ioctl_arg_t { ...@@ -107,6 +106,7 @@ typedef union ds_ioctl_arg_t {
#define DS_BIND_MTD _IOWR('d', 64, mtd_info_t) #define DS_BIND_MTD _IOWR('d', 64, mtd_info_t)
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/device.h>
typedef struct dev_node_t { typedef struct dev_node_t {
char dev_name[DEV_NAME_LEN]; char dev_name[DEV_NAME_LEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment