diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-21 16:38:13 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-30 15:07:39 -0400 |
commit | ac8b422838046ffc26be4874a3cbae0d313f4209 (patch) | |
tree | 936c8fc9a45ca7a2973c878fc0e20bbae288e5f0 /include/pcmcia | |
parent | ce3f9d71bd9c4268698109ad425625a2a8f51e22 (diff) |
pcmcia: remove cs_types.h
Remove cs_types.h which is no longer needed: Most definitions aren't
used at all, a few can be made away with, and two remaining definitions
(typedefs, unfortunatley) may be moved to more specific places.
CC: linux-ide@vger.kernel.org
CC: linux-usb@vger.kernel.org
CC: laforge@gnumonks.org
CC: linux-mtd@lists.infradead.org
CC: alsa-devel@alsa-project.org
CC: linux-serial@vger.kernel.org
Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/cistpl.h | 2 | ||||
-rw-r--r-- | include/pcmcia/cs.h | 10 | ||||
-rw-r--r-- | include/pcmcia/cs_types.h | 40 | ||||
-rw-r--r-- | include/pcmcia/ds.h | 3 | ||||
-rw-r--r-- | include/pcmcia/ss.h | 1 |
5 files changed, 5 insertions, 51 deletions
diff --git a/include/pcmcia/cistpl.h b/include/pcmcia/cistpl.h index cfdd5af77dcc..1c5088c9f7bf 100644 --- a/include/pcmcia/cistpl.h +++ b/include/pcmcia/cistpl.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef _LINUX_CISTPL_H | 15 | #ifndef _LINUX_CISTPL_H |
16 | #define _LINUX_CISTPL_H | 16 | #define _LINUX_CISTPL_H |
17 | 17 | ||
18 | typedef unsigned char cisdata_t; | ||
19 | |||
18 | #define CISTPL_NULL 0x00 | 20 | #define CISTPL_NULL 0x00 |
19 | #define CISTPL_DEVICE 0x01 | 21 | #define CISTPL_DEVICE 0x01 |
20 | #define CISTPL_LONGLINK_CB 0x02 | 22 | #define CISTPL_LONGLINK_CB 0x02 |
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index c943c967ac7a..c78d9b112080 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -43,14 +43,6 @@ typedef struct conf_reg_t { | |||
43 | #define CV_COPY_VALUE 0x08 | 43 | #define CV_COPY_VALUE 0x08 |
44 | #define CV_EXT_STATUS 0x10 | 44 | #define CV_EXT_STATUS 0x10 |
45 | 45 | ||
46 | /* For GetFirst/NextClient */ | ||
47 | typedef struct client_req_t { | ||
48 | socket_t Socket; | ||
49 | u_int Attributes; | ||
50 | } client_req_t; | ||
51 | |||
52 | #define CLIENT_THIS_SOCKET 0x01 | ||
53 | |||
54 | /* ModifyConfiguration */ | 46 | /* ModifyConfiguration */ |
55 | typedef struct modconf_t { | 47 | typedef struct modconf_t { |
56 | u_int Attributes; | 48 | u_int Attributes; |
@@ -133,7 +125,7 @@ typedef struct io_req_t { | |||
133 | /* For GetMemPage, MapMemPage */ | 125 | /* For GetMemPage, MapMemPage */ |
134 | typedef struct memreq_t { | 126 | typedef struct memreq_t { |
135 | u_int CardOffset; | 127 | u_int CardOffset; |
136 | page_t Page; | 128 | u_short Page; |
137 | } memreq_t; | 129 | } memreq_t; |
138 | 130 | ||
139 | /* For ModifyWindow */ | 131 | /* For ModifyWindow */ |
diff --git a/include/pcmcia/cs_types.h b/include/pcmcia/cs_types.h deleted file mode 100644 index f5e3b8386c8f..000000000000 --- a/include/pcmcia/cs_types.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * cs_types.h | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * The initial developer of the original code is David A. Hinds | ||
9 | * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds | ||
10 | * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. | ||
11 | * | ||
12 | * (C) 1999 David A. Hinds | ||
13 | */ | ||
14 | |||
15 | #ifndef _LINUX_CS_TYPES_H | ||
16 | #define _LINUX_CS_TYPES_H | ||
17 | |||
18 | #ifdef __KERNEL__ | ||
19 | #include <linux/types.h> | ||
20 | #else | ||
21 | #include <sys/types.h> | ||
22 | #endif | ||
23 | |||
24 | typedef u_short socket_t; | ||
25 | typedef u_int event_t; | ||
26 | typedef u_char cisdata_t; | ||
27 | typedef u_short page_t; | ||
28 | |||
29 | typedef unsigned long window_handle_t; | ||
30 | |||
31 | struct region_t; | ||
32 | typedef struct region_t *memory_handle_t; | ||
33 | |||
34 | #ifndef DEV_NAME_LEN | ||
35 | #define DEV_NAME_LEN 32 | ||
36 | #endif | ||
37 | |||
38 | typedef char dev_info_t[DEV_NAME_LEN]; | ||
39 | |||
40 | #endif /* _LINUX_CS_TYPES_H */ | ||
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 7d7721e86032..e614aa0ca2a2 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/mod_devicetable.h> | 20 | #include <linux/mod_devicetable.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #include <pcmcia/cs_types.h> | ||
24 | #include <pcmcia/device_id.h> | 23 | #include <pcmcia/device_id.h> |
25 | 24 | ||
26 | #ifdef __KERNEL__ | 25 | #ifdef __KERNEL__ |
@@ -37,6 +36,8 @@ struct pcmcia_device; | |||
37 | struct config_t; | 36 | struct config_t; |
38 | struct net_device; | 37 | struct net_device; |
39 | 38 | ||
39 | typedef unsigned long window_handle_t; | ||
40 | |||
40 | /* dynamic device IDs for PCMCIA device drivers. See | 41 | /* dynamic device IDs for PCMCIA device drivers. See |
41 | * Documentation/pcmcia/driver.txt for details. | 42 | * Documentation/pcmcia/driver.txt for details. |
42 | */ | 43 | */ |
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index aeac27109839..626b63c33d9e 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/sched.h> /* task_struct, completion */ | 19 | #include <linux/sched.h> /* task_struct, completion */ |
20 | #include <linux/mutex.h> | 20 | #include <linux/mutex.h> |
21 | 21 | ||
22 | #include <pcmcia/cs_types.h> | ||
23 | #include <pcmcia/cs.h> | 22 | #include <pcmcia/cs.h> |
24 | #ifdef CONFIG_CARDBUS | 23 | #ifdef CONFIG_CARDBUS |
25 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |