Skip to content

Commit

Permalink
pcmcia: clean up cs.h
Browse files Browse the repository at this point in the history
Remove some obsolete definitions from cs.h

Signed-off-by: Dominik Brodowski <[email protected]>
  • Loading branch information
Dominik Brodowski committed Aug 3, 2010
1 parent 1d5cc19 commit 3dace8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 3 additions & 0 deletions drivers/pcmcia/rsrc_nonstatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ struct socket_data {
#define MEM_PROBE_LOW (1 << 0)
#define MEM_PROBE_HIGH (1 << 1)

/* Action field */
#define REMOVE_MANAGED_RESOURCE 1
#define ADD_MANAGED_RESOURCE 2

/*======================================================================
Expand Down
12 changes: 0 additions & 12 deletions include/pcmcia/cs.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@
#include <linux/interrupt.h>
#endif

/* for AdjustResourceInfo */
/* Action field */
#define REMOVE_MANAGED_RESOURCE 1
#define ADD_MANAGED_RESOURCE 2

/* For CardValues field */
#define CV_OPTION_VALUE 0x01
#define CV_STATUS_VALUE 0x02
#define CV_PIN_REPLACEMENT 0x04
#define CV_COPY_VALUE 0x08
#define CV_EXT_STATUS 0x10

/* ModifyConfiguration */
typedef struct modconf_t {
u_int Attributes;
Expand Down

0 comments on commit 3dace8c

Please sign in to comment.