diff options
author | Jens Axboe <axboe@kernel.dk> | 2011-09-27 23:27:43 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-11-05 03:35:10 -0400 |
commit | 6316668fbcf8a0a166830e7e84cdbdf0ab9392c8 (patch) | |
tree | 7d18003afb0e1be5c9029c277c7fccb1202e5d30 /drivers/block/mtip32xx/mtip32xx.h | |
parent | ef0f1587343a4c17b9b0d9061546e36c1c1bb2ec (diff) |
mtip32xx: ensure that all local functions are static
Kill the declarations in the header file and mark them as static.
Reshuffle a few functions to ensure that everything is properly
declared before being used.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index d6355c6f218f..17be4f444e7d 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h | |||
@@ -405,37 +405,4 @@ struct driver_data { | |||
405 | atomic_t eh_active; /* Flag for error handling tracking */ | 405 | atomic_t eh_active; /* Flag for error handling tracking */ |
406 | }; | 406 | }; |
407 | 407 | ||
408 | /* Function declarations */ | ||
409 | extern int mtip_block_initialize(struct driver_data *dd); | ||
410 | extern int mtip_block_remove(struct driver_data *dd); | ||
411 | extern int mtip_block_shutdown(struct driver_data *dd); | ||
412 | extern int mtip_block_suspend(struct driver_data *dd); | ||
413 | extern int mtip_block_resume(struct driver_data *dd); | ||
414 | extern int mtip_hw_init(struct driver_data *dd); | ||
415 | extern int mtip_hw_exit(struct driver_data *dd); | ||
416 | extern int mtip_hw_shutdown(struct driver_data *dd); | ||
417 | extern bool mtip_hw_get_capacity(struct driver_data *dd, sector_t *sectors); | ||
418 | extern void mtip_hw_release_scatterlist( | ||
419 | struct driver_data *dd, | ||
420 | int tag); | ||
421 | extern struct scatterlist *mtip_hw_get_scatterlist( | ||
422 | struct driver_data *dd, | ||
423 | int *tag); | ||
424 | extern void mtip_hw_submit_io(struct driver_data *dd, | ||
425 | sector_t start, | ||
426 | int nsect, | ||
427 | int nents, | ||
428 | int tag, | ||
429 | void *callback, | ||
430 | void *data, | ||
431 | int barrier, | ||
432 | int dir); | ||
433 | extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj); | ||
434 | extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj); | ||
435 | extern int mtip_hw_resume(struct driver_data *dd); | ||
436 | extern int mtip_hw_suspend(struct driver_data *dd); | ||
437 | void mtip_command_cleanup(struct driver_data *dd); | ||
438 | bool mtip_check_surprise_removal(struct pci_dev *pdev); | ||
439 | void mtip_restart_port(struct mtip_port *port); | ||
440 | |||
441 | #endif | 408 | #endif |