diff options
-rw-r--r-- | include/linux/mod_devicetable.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 8a8dc82a941d..9b6d05172ed4 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -191,12 +191,22 @@ struct pcmcia_device_id { | |||
191 | /* for pseude multi-function devices */ | 191 | /* for pseude multi-function devices */ |
192 | __u8 device_no; | 192 | __u8 device_no; |
193 | 193 | ||
194 | const char * prod_id[4]; | ||
195 | __u32 prod_id_hash[4]; | 194 | __u32 prod_id_hash[4]; |
196 | 195 | ||
196 | /* not matched against in kernelspace*/ | ||
197 | #ifdef __KERNEL__ | ||
198 | const char * prod_id[4]; | ||
199 | #else | ||
200 | kernel_ulong_t prod_id[4]; | ||
201 | #endif | ||
202 | |||
197 | /* not matched against */ | 203 | /* not matched against */ |
198 | kernel_ulong_t driver_info; | 204 | kernel_ulong_t driver_info; |
205 | #ifdef __KERNEL__ | ||
199 | char * cisfile; | 206 | char * cisfile; |
207 | #else | ||
208 | kernel_ulong_t cisfile; | ||
209 | #endif | ||
200 | }; | 210 | }; |
201 | 211 | ||
202 | #define PCMCIA_DEV_ID_MATCH_MANF_ID 0x0001 | 212 | #define PCMCIA_DEV_ID_MATCH_MANF_ID 0x0001 |