diff options
author | Dominik Brodowski <linux@dominikbrodowski.de> | 2005-01-11 03:26:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-11 03:26:51 -0800 |
commit | b1b3650d7652a786bfe85f53c09378d06ad2a13f (patch) | |
tree | 08daebd6c070af1888b21eab449c414d8a40ec23 /include | |
parent | bbdedd8fb89e19647576019a5f34d9108dd184c1 (diff) | |
download | history-b1b3650d7652a786bfe85f53c09378d06ad2a13f.tar.gz |
[PATCH] pcmcia: remove client_attributes
Remove the "Attributes" entry of struct client_t -- _all_ in-kernel drivers
did set it to INFO_IO_CLIENT | INFO_CARD_SHARE anyway, and the pcmcia core
didn't care at all what this value was set to.
Also, remove the setting of the respective request field in all in-kernel
drivers -- the request structure is kept the same, though, to keep external
drivers compiling.
Signed-off-by: Dominik Brodowski <linux@brodo.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/pcmcia/cs.h | 4 | ||||
-rw-r--r-- | include/pcmcia/ds.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index dfc7ede3c0fbb8..311682a7fef0bb 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h @@ -124,7 +124,7 @@ typedef struct client_req_t { /* For RegisterClient */ typedef struct client_reg_t { dev_info_t *dev_info; - u_int Attributes; + u_int Attributes; /* UNUSED */ u_int EventMask; int (*event_handler)(event_t event, int priority, event_callback_args_t *); @@ -279,7 +279,7 @@ typedef struct win_req_t { #define WIN_BAR_MASK 0xe000 #define WIN_BAR_SHIFT 13 -/* Attributes for RegisterClient */ +/* Attributes for RegisterClient -- UNUSED -- */ #define INFO_MASTER_CLIENT 0x01 #define INFO_IO_CLIENT 0x02 #define INFO_MTD_CLIENT 0x04 diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index c579df808e5bce..e46ae96e867bca 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -163,7 +163,6 @@ struct pcmcia_device { struct pcmcia_socket *Socket; u_char Function; dev_info_t dev_info; - u_int Attributes; u_int state; event_t EventMask; int (*event_handler) (event_t event, int priority, |