diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-12-07 16:11:45 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-12-07 16:23:40 -0500 |
commit | 9fea84f46a821aa1ff2d034ffda8ad33bff48015 (patch) | |
tree | fba7293e771309970d3f20fc9d3ce73f49f90a33 /include/pcmcia/ss.h | |
parent | e15c1c1f3f903f679c9782b540f9d52c80c99610 (diff) |
pcmcia: CodingStyle fixes
Fix several CodingStyle issues in drivers/pcmcia/ . checkpatch.pl no longer
reports errors in the PCMCIA core. The remaining warnings mostly relate to
wrong indent -- PCMCIA historically used 4 spaces --, to lines over 80
characters and to hundreds of typedefs. The cleanup of those will follow
in the future.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r-- | include/pcmcia/ss.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index 7c23be706f12..cbfba885eb85 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -154,7 +154,7 @@ struct pcmcia_socket { | |||
154 | struct list_head socket_list; | 154 | struct list_head socket_list; |
155 | struct completion socket_released; | 155 | struct completion socket_released; |
156 | 156 | ||
157 | /* deprecated */ | 157 | /* deprecated */ |
158 | unsigned int sock; /* socket number */ | 158 | unsigned int sock; /* socket number */ |
159 | 159 | ||
160 | 160 | ||
@@ -164,7 +164,7 @@ struct pcmcia_socket { | |||
164 | u_int map_size; | 164 | u_int map_size; |
165 | u_int io_offset; | 165 | u_int io_offset; |
166 | u_int pci_irq; | 166 | u_int pci_irq; |
167 | struct pci_dev * cb_dev; | 167 | struct pci_dev *cb_dev; |
168 | 168 | ||
169 | 169 | ||
170 | /* socket setup is done so resources should be able to be allocated. | 170 | /* socket setup is done so resources should be able to be allocated. |
@@ -179,9 +179,9 @@ struct pcmcia_socket { | |||
179 | u8 reserved:5; | 179 | u8 reserved:5; |
180 | 180 | ||
181 | /* socket operations */ | 181 | /* socket operations */ |
182 | struct pccard_operations * ops; | 182 | struct pccard_operations *ops; |
183 | struct pccard_resource_ops * resource_ops; | 183 | struct pccard_resource_ops *resource_ops; |
184 | void * resource_data; | 184 | void *resource_data; |
185 | 185 | ||
186 | /* Zoom video behaviour is so chip specific its not worth adding | 186 | /* Zoom video behaviour is so chip specific its not worth adding |
187 | this to _ops */ | 187 | this to _ops */ |
@@ -245,7 +245,7 @@ struct pcmcia_socket { | |||
245 | 245 | ||
246 | /* cardbus (32-bit) */ | 246 | /* cardbus (32-bit) */ |
247 | #ifdef CONFIG_CARDBUS | 247 | #ifdef CONFIG_CARDBUS |
248 | struct resource * cb_cis_res; | 248 | struct resource *cb_cis_res; |
249 | void __iomem *cb_cis_virt; | 249 | void __iomem *cb_cis_virt; |
250 | #endif /* CONFIG_CARDBUS */ | 250 | #endif /* CONFIG_CARDBUS */ |
251 | 251 | ||