aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-09-27 23:27:43 -0400
committerJens Axboe <axboe@kernel.dk>2011-11-05 03:35:10 -0400
commit6316668fbcf8a0a166830e7e84cdbdf0ab9392c8 (patch)
tree7d18003afb0e1be5c9029c277c7fccb1202e5d30 /drivers/block/mtip32xx/mtip32xx.h
parentef0f1587343a4c17b9b0d9061546e36c1c1bb2ec (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.h33
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 */
409extern int mtip_block_initialize(struct driver_data *dd);
410extern int mtip_block_remove(struct driver_data *dd);
411extern int mtip_block_shutdown(struct driver_data *dd);
412extern int mtip_block_suspend(struct driver_data *dd);
413extern int mtip_block_resume(struct driver_data *dd);
414extern int mtip_hw_init(struct driver_data *dd);
415extern int mtip_hw_exit(struct driver_data *dd);
416extern int mtip_hw_shutdown(struct driver_data *dd);
417extern bool mtip_hw_get_capacity(struct driver_data *dd, sector_t *sectors);
418extern void mtip_hw_release_scatterlist(
419 struct driver_data *dd,
420 int tag);
421extern struct scatterlist *mtip_hw_get_scatterlist(
422 struct driver_data *dd,
423 int *tag);
424extern 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);
433extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj);
434extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj);
435extern int mtip_hw_resume(struct driver_data *dd);
436extern int mtip_hw_suspend(struct driver_data *dd);
437void mtip_command_cleanup(struct driver_data *dd);
438bool mtip_check_surprise_removal(struct pci_dev *pdev);
439void mtip_restart_port(struct mtip_port *port);
440
441#endif 408#endif