diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/aoe/aoeblk.c | 2 | ||||
-rw-r--r-- | drivers/ieee1394/eth1394.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-crypt.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-mpath.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-snap.c | 6 | ||||
-rw-r--r-- | drivers/md/dm.c | 4 | ||||
-rw-r--r-- | drivers/md/kcopyd.c | 2 | ||||
-rw-r--r-- | drivers/md/raid5.c | 4 | ||||
-rw-r--r-- | drivers/message/i2o/i2o_block.h | 2 | ||||
-rw-r--r-- | drivers/pci/msi.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_devmap.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_int.h | 2 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 6 | ||||
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx.h | 4 | ||||
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_hwi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 4 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_init.c | 2 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 | ||||
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 | ||||
-rw-r--r-- | drivers/scsi/scsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/scsi_lib.c | 4 | ||||
-rw-r--r-- | drivers/scsi/scsi_tgt_lib.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/hc_crisv10.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/mon/mon_text.c | 6 |
25 files changed, 38 insertions, 38 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index aa25f8b09fe3..478489c568a4 100644 --- a/drivers/block/aoe/aoeblk.c +++ b/drivers/block/aoe/aoeblk.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/netdevice.h> | 12 | #include <linux/netdevice.h> |
13 | #include "aoe.h" | 13 | #include "aoe.h" |
14 | 14 | ||
15 | static kmem_cache_t *buf_pool_cache; | 15 | static struct kmem_cache *buf_pool_cache; |
16 | 16 | ||
17 | static ssize_t aoedisk_show_state(struct gendisk * disk, char *page) | 17 | static ssize_t aoedisk_show_state(struct gendisk * disk, char *page) |
18 | { | 18 | { |
diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index 31e5cc49d61a..27d6c642415d 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c | |||
@@ -133,7 +133,7 @@ struct eth1394_node_info { | |||
133 | #define ETH1394_DRIVER_NAME "eth1394" | 133 | #define ETH1394_DRIVER_NAME "eth1394" |
134 | static const char driver_name[] = ETH1394_DRIVER_NAME; | 134 | static const char driver_name[] = ETH1394_DRIVER_NAME; |
135 | 135 | ||
136 | static kmem_cache_t *packet_task_cache; | 136 | static struct kmem_cache *packet_task_cache; |
137 | 137 | ||
138 | static struct hpsb_highlevel eth1394_highlevel; | 138 | static struct hpsb_highlevel eth1394_highlevel; |
139 | 139 | ||
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index ed2d4ef27fd8..c7bee4f2eedb 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c | |||
@@ -101,7 +101,7 @@ struct crypt_config { | |||
101 | #define MIN_POOL_PAGES 32 | 101 | #define MIN_POOL_PAGES 32 |
102 | #define MIN_BIO_PAGES 8 | 102 | #define MIN_BIO_PAGES 8 |
103 | 103 | ||
104 | static kmem_cache_t *_crypt_io_pool; | 104 | static struct kmem_cache *_crypt_io_pool; |
105 | 105 | ||
106 | /* | 106 | /* |
107 | * Different IV generation algorithms: | 107 | * Different IV generation algorithms: |
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index e77ee6fd1044..cf8bf052138e 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -101,7 +101,7 @@ typedef int (*action_fn) (struct pgpath *pgpath); | |||
101 | 101 | ||
102 | #define MIN_IOS 256 /* Mempool size */ | 102 | #define MIN_IOS 256 /* Mempool size */ |
103 | 103 | ||
104 | static kmem_cache_t *_mpio_cache; | 104 | static struct kmem_cache *_mpio_cache; |
105 | 105 | ||
106 | struct workqueue_struct *kmultipathd; | 106 | struct workqueue_struct *kmultipathd; |
107 | static void process_queued_ios(struct work_struct *work); | 107 | static void process_queued_ios(struct work_struct *work); |
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 91c7aa1fed0e..b0ce2ce82278 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
@@ -88,8 +88,8 @@ struct pending_exception { | |||
88 | * Hash table mapping origin volumes to lists of snapshots and | 88 | * Hash table mapping origin volumes to lists of snapshots and |
89 | * a lock to protect it | 89 | * a lock to protect it |
90 | */ | 90 | */ |
91 | static kmem_cache_t *exception_cache; | 91 | static struct kmem_cache *exception_cache; |
92 | static kmem_cache_t *pending_cache; | 92 | static struct kmem_cache *pending_cache; |
93 | static mempool_t *pending_pool; | 93 | static mempool_t *pending_pool; |
94 | 94 | ||
95 | /* | 95 | /* |
@@ -228,7 +228,7 @@ static int init_exception_table(struct exception_table *et, uint32_t size) | |||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |
230 | 230 | ||
231 | static void exit_exception_table(struct exception_table *et, kmem_cache_t *mem) | 231 | static void exit_exception_table(struct exception_table *et, struct kmem_cache *mem) |
232 | { | 232 | { |
233 | struct list_head *slot; | 233 | struct list_head *slot; |
234 | struct exception *ex, *next; | 234 | struct exception *ex, *next; |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index fc4f743f3b53..7ec1b112a6d5 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -121,8 +121,8 @@ struct mapped_device { | |||
121 | }; | 121 | }; |
122 | 122 | ||
123 | #define MIN_IOS 256 | 123 | #define MIN_IOS 256 |
124 | static kmem_cache_t *_io_cache; | 124 | static struct kmem_cache *_io_cache; |
125 | static kmem_cache_t *_tio_cache; | 125 | static struct kmem_cache *_tio_cache; |
126 | 126 | ||
127 | static int __init local_init(void) | 127 | static int __init local_init(void) |
128 | { | 128 | { |
diff --git a/drivers/md/kcopyd.c b/drivers/md/kcopyd.c index b3c01496c737..b46f6c575f7e 100644 --- a/drivers/md/kcopyd.c +++ b/drivers/md/kcopyd.c | |||
@@ -203,7 +203,7 @@ struct kcopyd_job { | |||
203 | /* FIXME: this should scale with the number of pages */ | 203 | /* FIXME: this should scale with the number of pages */ |
204 | #define MIN_JOBS 512 | 204 | #define MIN_JOBS 512 |
205 | 205 | ||
206 | static kmem_cache_t *_job_cache; | 206 | static struct kmem_cache *_job_cache; |
207 | static mempool_t *_job_pool; | 207 | static mempool_t *_job_pool; |
208 | 208 | ||
209 | /* | 209 | /* |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 69c3e201fa3b..52914d5cec76 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -348,7 +348,7 @@ static int grow_one_stripe(raid5_conf_t *conf) | |||
348 | 348 | ||
349 | static int grow_stripes(raid5_conf_t *conf, int num) | 349 | static int grow_stripes(raid5_conf_t *conf, int num) |
350 | { | 350 | { |
351 | kmem_cache_t *sc; | 351 | struct kmem_cache *sc; |
352 | int devs = conf->raid_disks; | 352 | int devs = conf->raid_disks; |
353 | 353 | ||
354 | sprintf(conf->cache_name[0], "raid5/%s", mdname(conf->mddev)); | 354 | sprintf(conf->cache_name[0], "raid5/%s", mdname(conf->mddev)); |
@@ -397,7 +397,7 @@ static int resize_stripes(raid5_conf_t *conf, int newsize) | |||
397 | LIST_HEAD(newstripes); | 397 | LIST_HEAD(newstripes); |
398 | struct disk_info *ndisks; | 398 | struct disk_info *ndisks; |
399 | int err = 0; | 399 | int err = 0; |
400 | kmem_cache_t *sc; | 400 | struct kmem_cache *sc; |
401 | int i; | 401 | int i; |
402 | 402 | ||
403 | if (newsize <= conf->pool_size) | 403 | if (newsize <= conf->pool_size) |
diff --git a/drivers/message/i2o/i2o_block.h b/drivers/message/i2o/i2o_block.h index d9fdc95b440d..67f921b4419b 100644 --- a/drivers/message/i2o/i2o_block.h +++ b/drivers/message/i2o/i2o_block.h | |||
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | /* I2O Block OSM mempool struct */ | 65 | /* I2O Block OSM mempool struct */ |
66 | struct i2o_block_mempool { | 66 | struct i2o_block_mempool { |
67 | kmem_cache_t *slab; | 67 | struct kmem_cache *slab; |
68 | mempool_t *pool; | 68 | mempool_t *pool; |
69 | }; | 69 | }; |
70 | 70 | ||
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 9fc9a34ef24a..9168401401bc 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | static DEFINE_SPINLOCK(msi_lock); | 27 | static DEFINE_SPINLOCK(msi_lock); |
28 | static struct msi_desc* msi_desc[NR_IRQS] = { [0 ... NR_IRQS-1] = NULL }; | 28 | static struct msi_desc* msi_desc[NR_IRQS] = { [0 ... NR_IRQS-1] = NULL }; |
29 | static kmem_cache_t* msi_cachep; | 29 | static struct kmem_cache* msi_cachep; |
30 | 30 | ||
31 | static int pci_msi_enable = 1; | 31 | static int pci_msi_enable = 1; |
32 | 32 | ||
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index 17fdd8c9f740..cf28ccc57948 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "dasd_int.h" | 26 | #include "dasd_int.h" |
27 | 27 | ||
28 | kmem_cache_t *dasd_page_cache; | 28 | struct kmem_cache *dasd_page_cache; |
29 | EXPORT_SYMBOL_GPL(dasd_page_cache); | 29 | EXPORT_SYMBOL_GPL(dasd_page_cache); |
30 | 30 | ||
31 | /* | 31 | /* |
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index 9f52004f6fc2..dc5dd509434d 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -474,7 +474,7 @@ extern struct dasd_profile_info_t dasd_global_profile; | |||
474 | extern unsigned int dasd_profile_level; | 474 | extern unsigned int dasd_profile_level; |
475 | extern struct block_device_operations dasd_device_operations; | 475 | extern struct block_device_operations dasd_device_operations; |
476 | 476 | ||
477 | extern kmem_cache_t *dasd_page_cache; | 477 | extern struct kmem_cache *dasd_page_cache; |
478 | 478 | ||
479 | struct dasd_ccw_req * | 479 | struct dasd_ccw_req * |
480 | dasd_kmalloc_request(char *, int, int, struct dasd_device *); | 480 | dasd_kmalloc_request(char *, int, int, struct dasd_device *); |
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 74c0eac083e4..32933ed54b8a 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -1032,9 +1032,9 @@ struct zfcp_data { | |||
1032 | wwn_t init_wwpn; | 1032 | wwn_t init_wwpn; |
1033 | fcp_lun_t init_fcp_lun; | 1033 | fcp_lun_t init_fcp_lun; |
1034 | char *driver_version; | 1034 | char *driver_version; |
1035 | kmem_cache_t *fsf_req_qtcb_cache; | 1035 | struct kmem_cache *fsf_req_qtcb_cache; |
1036 | kmem_cache_t *sr_buffer_cache; | 1036 | struct kmem_cache *sr_buffer_cache; |
1037 | kmem_cache_t *gid_pn_cache; | 1037 | struct kmem_cache *gid_pn_cache; |
1038 | }; | 1038 | }; |
1039 | 1039 | ||
1040 | /** | 1040 | /** |
diff --git a/drivers/scsi/aic94xx/aic94xx.h b/drivers/scsi/aic94xx/aic94xx.h index 71a031df7a34..32f513b1b78a 100644 --- a/drivers/scsi/aic94xx/aic94xx.h +++ b/drivers/scsi/aic94xx/aic94xx.h | |||
@@ -56,8 +56,8 @@ | |||
56 | /* 2*ITNL timeout + 1 second */ | 56 | /* 2*ITNL timeout + 1 second */ |
57 | #define AIC94XX_SCB_TIMEOUT (5*HZ) | 57 | #define AIC94XX_SCB_TIMEOUT (5*HZ) |
58 | 58 | ||
59 | extern kmem_cache_t *asd_dma_token_cache; | 59 | extern struct kmem_cache *asd_dma_token_cache; |
60 | extern kmem_cache_t *asd_ascb_cache; | 60 | extern struct kmem_cache *asd_ascb_cache; |
61 | extern char sas_addr_str[2*SAS_ADDR_SIZE + 1]; | 61 | extern char sas_addr_str[2*SAS_ADDR_SIZE + 1]; |
62 | 62 | ||
63 | static inline void asd_stringify_sas_addr(char *p, const u8 *sas_addr) | 63 | static inline void asd_stringify_sas_addr(char *p, const u8 *sas_addr) |
diff --git a/drivers/scsi/aic94xx/aic94xx_hwi.c b/drivers/scsi/aic94xx/aic94xx_hwi.c index af7e01134364..da94e126ca83 100644 --- a/drivers/scsi/aic94xx/aic94xx_hwi.c +++ b/drivers/scsi/aic94xx/aic94xx_hwi.c | |||
@@ -1047,7 +1047,7 @@ irqreturn_t asd_hw_isr(int irq, void *dev_id) | |||
1047 | static inline struct asd_ascb *asd_ascb_alloc(struct asd_ha_struct *asd_ha, | 1047 | static inline struct asd_ascb *asd_ascb_alloc(struct asd_ha_struct *asd_ha, |
1048 | gfp_t gfp_flags) | 1048 | gfp_t gfp_flags) |
1049 | { | 1049 | { |
1050 | extern kmem_cache_t *asd_ascb_cache; | 1050 | extern struct kmem_cache *asd_ascb_cache; |
1051 | struct asd_seq_data *seq = &asd_ha->seq; | 1051 | struct asd_seq_data *seq = &asd_ha->seq; |
1052 | struct asd_ascb *ascb; | 1052 | struct asd_ascb *ascb; |
1053 | unsigned long flags; | 1053 | unsigned long flags; |
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index 42302ef05ee5..fbc82b00a418 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -450,8 +450,8 @@ static inline void asd_destroy_ha_caches(struct asd_ha_struct *asd_ha) | |||
450 | asd_ha->scb_pool = NULL; | 450 | asd_ha->scb_pool = NULL; |
451 | } | 451 | } |
452 | 452 | ||
453 | kmem_cache_t *asd_dma_token_cache; | 453 | struct kmem_cache *asd_dma_token_cache; |
454 | kmem_cache_t *asd_ascb_cache; | 454 | struct kmem_cache *asd_ascb_cache; |
455 | 455 | ||
456 | static int asd_create_global_caches(void) | 456 | static int asd_create_global_caches(void) |
457 | { | 457 | { |
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c index d65bc4e0f214..2f0c07fc3f48 100644 --- a/drivers/scsi/libsas/sas_init.c +++ b/drivers/scsi/libsas/sas_init.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include "../scsi_sas_internal.h" | 37 | #include "../scsi_sas_internal.h" |
38 | 38 | ||
39 | kmem_cache_t *sas_task_cache; | 39 | struct kmem_cache *sas_task_cache; |
40 | 40 | ||
41 | /*------------ SAS addr hash -----------*/ | 41 | /*------------ SAS addr hash -----------*/ |
42 | void sas_hash_addr(u8 *hashed, const u8 *sas_addr) | 42 | void sas_hash_addr(u8 *hashed, const u8 *sas_addr) |
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index cbe0cad83b68..d03523d3bf38 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -24,7 +24,7 @@ char qla2x00_version_str[40]; | |||
24 | /* | 24 | /* |
25 | * SRB allocation cache | 25 | * SRB allocation cache |
26 | */ | 26 | */ |
27 | static kmem_cache_t *srb_cachep; | 27 | static struct kmem_cache *srb_cachep; |
28 | 28 | ||
29 | /* | 29 | /* |
30 | * Ioctl related information. | 30 | * Ioctl related information. |
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 969c9e431028..9ef693c8809a 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -19,7 +19,7 @@ char qla4xxx_version_str[40]; | |||
19 | /* | 19 | /* |
20 | * SRB allocation cache | 20 | * SRB allocation cache |
21 | */ | 21 | */ |
22 | static kmem_cache_t *srb_cachep; | 22 | static struct kmem_cache *srb_cachep; |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Module parameter information and variables | 25 | * Module parameter information and variables |
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index fafc00deaade..24cffd98ee63 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -136,7 +136,7 @@ const char * scsi_device_type(unsigned type) | |||
136 | EXPORT_SYMBOL(scsi_device_type); | 136 | EXPORT_SYMBOL(scsi_device_type); |
137 | 137 | ||
138 | struct scsi_host_cmd_pool { | 138 | struct scsi_host_cmd_pool { |
139 | kmem_cache_t *slab; | 139 | struct kmem_cache *slab; |
140 | unsigned int users; | 140 | unsigned int users; |
141 | char *name; | 141 | char *name; |
142 | unsigned int slab_flags; | 142 | unsigned int slab_flags; |
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index fb616c69151f..1748e27501cd 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -36,7 +36,7 @@ | |||
36 | struct scsi_host_sg_pool { | 36 | struct scsi_host_sg_pool { |
37 | size_t size; | 37 | size_t size; |
38 | char *name; | 38 | char *name; |
39 | kmem_cache_t *slab; | 39 | struct kmem_cache *slab; |
40 | mempool_t *pool; | 40 | mempool_t *pool; |
41 | }; | 41 | }; |
42 | 42 | ||
@@ -241,7 +241,7 @@ struct scsi_io_context { | |||
241 | char sense[SCSI_SENSE_BUFFERSIZE]; | 241 | char sense[SCSI_SENSE_BUFFERSIZE]; |
242 | }; | 242 | }; |
243 | 243 | ||
244 | static kmem_cache_t *scsi_io_context_cache; | 244 | static struct kmem_cache *scsi_io_context_cache; |
245 | 245 | ||
246 | static void scsi_end_async(struct request *req, int uptodate) | 246 | static void scsi_end_async(struct request *req, int uptodate) |
247 | { | 247 | { |
diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c index 386dbae17b44..d402aff5f314 100644 --- a/drivers/scsi/scsi_tgt_lib.c +++ b/drivers/scsi/scsi_tgt_lib.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "scsi_tgt_priv.h" | 33 | #include "scsi_tgt_priv.h" |
34 | 34 | ||
35 | static struct workqueue_struct *scsi_tgtd; | 35 | static struct workqueue_struct *scsi_tgtd; |
36 | static kmem_cache_t *scsi_tgt_cmd_cache; | 36 | static struct kmem_cache *scsi_tgt_cmd_cache; |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * TODO: this struct will be killed when the block layer supports large bios | 39 | * TODO: this struct will be killed when the block layer supports large bios |
diff --git a/drivers/usb/host/hc_crisv10.c b/drivers/usb/host/hc_crisv10.c index 7fd872aa654a..9325e46a68c0 100644 --- a/drivers/usb/host/hc_crisv10.c +++ b/drivers/usb/host/hc_crisv10.c | |||
@@ -275,13 +275,13 @@ static volatile USB_SB_Desc_t TxIntrSB_zout __attribute__ ((aligned (4))); | |||
275 | static int zout_buffer[4] __attribute__ ((aligned (4))); | 275 | static int zout_buffer[4] __attribute__ ((aligned (4))); |
276 | 276 | ||
277 | /* Cache for allocating new EP and SB descriptors. */ | 277 | /* Cache for allocating new EP and SB descriptors. */ |
278 | static kmem_cache_t *usb_desc_cache; | 278 | static struct kmem_cache *usb_desc_cache; |
279 | 279 | ||
280 | /* Cache for the registers allocated in the top half. */ | 280 | /* Cache for the registers allocated in the top half. */ |
281 | static kmem_cache_t *top_half_reg_cache; | 281 | static struct kmem_cache *top_half_reg_cache; |
282 | 282 | ||
283 | /* Cache for the data allocated in the isoc descr top half. */ | 283 | /* Cache for the data allocated in the isoc descr top half. */ |
284 | static kmem_cache_t *isoc_compl_cache; | 284 | static struct kmem_cache *isoc_compl_cache; |
285 | 285 | ||
286 | static struct usb_bus *etrax_usb_bus; | 286 | static struct usb_bus *etrax_usb_bus; |
287 | 287 | ||
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 226bf3de8edd..e87692c31be4 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -81,7 +81,7 @@ MODULE_PARM_DESC(debug, "Debug level"); | |||
81 | static char *errbuf; | 81 | static char *errbuf; |
82 | #define ERRBUF_LEN (32 * 1024) | 82 | #define ERRBUF_LEN (32 * 1024) |
83 | 83 | ||
84 | static kmem_cache_t *uhci_up_cachep; /* urb_priv */ | 84 | static struct kmem_cache *uhci_up_cachep; /* urb_priv */ |
85 | 85 | ||
86 | static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state); | 86 | static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state); |
87 | static void wakeup_rh(struct uhci_hcd *uhci); | 87 | static void wakeup_rh(struct uhci_hcd *uhci); |
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index 46aecc8754f1..05cf2c9a8f84 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -50,7 +50,7 @@ struct mon_event_text { | |||
50 | 50 | ||
51 | #define SLAB_NAME_SZ 30 | 51 | #define SLAB_NAME_SZ 30 |
52 | struct mon_reader_text { | 52 | struct mon_reader_text { |
53 | kmem_cache_t *e_slab; | 53 | struct kmem_cache *e_slab; |
54 | int nevents; | 54 | int nevents; |
55 | struct list_head e_list; | 55 | struct list_head e_list; |
56 | struct mon_reader r; /* In C, parent class can be placed anywhere */ | 56 | struct mon_reader r; /* In C, parent class can be placed anywhere */ |
@@ -63,7 +63,7 @@ struct mon_reader_text { | |||
63 | char slab_name[SLAB_NAME_SZ]; | 63 | char slab_name[SLAB_NAME_SZ]; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | static void mon_text_ctor(void *, kmem_cache_t *, unsigned long); | 66 | static void mon_text_ctor(void *, struct kmem_cache *, unsigned long); |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * mon_text_submit | 69 | * mon_text_submit |
@@ -450,7 +450,7 @@ const struct file_operations mon_fops_text = { | |||
450 | /* | 450 | /* |
451 | * Slab interface: constructor. | 451 | * Slab interface: constructor. |
452 | */ | 452 | */ |
453 | static void mon_text_ctor(void *mem, kmem_cache_t *slab, unsigned long sflags) | 453 | static void mon_text_ctor(void *mem, struct kmem_cache *slab, unsigned long sflags) |
454 | { | 454 | { |
455 | /* | 455 | /* |
456 | * Nothing to initialize. No, really! | 456 | * Nothing to initialize. No, really! |