aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/FlashPoint.c
diff options
context:
space:
mode:
authorKhalid Aziz <khalid.aziz@oracle.com>2013-05-16 21:44:13 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-06-26 21:18:48 -0400
commit839cb99e8f748391059d10388c8aea48a88c142c (patch)
tree718db65aa0ac282e373739ab97a6b7fbc9216069 /drivers/scsi/FlashPoint.c
parent3b9373e95a6019cf89abe6c8b17c07828db96ad4 (diff)
[SCSI] BusLogic: Fix style issues
Fix CamelCase and extra long lines in the buslogic driver. Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/FlashPoint.c')
-rw-r--r--drivers/scsi/FlashPoint.c35
1 files changed, 17 insertions, 18 deletions
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index dcd716d68600..902972050063 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -7573,47 +7573,47 @@ static unsigned char FPT_CalcLrc(unsigned char buffer[])
7573*/ 7573*/
7574 7574
7575static inline unsigned char 7575static inline unsigned char
7576FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo) 7576FlashPoint__ProbeHostAdapter(struct fpoint_info *FlashPointInfo)
7577{ 7577{
7578 return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *) 7578 return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *)
7579 FlashPointInfo); 7579 FlashPointInfo);
7580} 7580}
7581 7581
7582static inline FlashPoint_CardHandle_T 7582static inline unsigned int
7583FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo) 7583FlashPoint__HardwareResetHostAdapter(struct fpoint_info *FlashPointInfo)
7584{ 7584{
7585 return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *) 7585 return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *)
7586 FlashPointInfo); 7586 FlashPointInfo);
7587} 7587}
7588 7588
7589static inline void 7589static inline void
7590FlashPoint__ReleaseHostAdapter(FlashPoint_CardHandle_T CardHandle) 7590FlashPoint__ReleaseHostAdapter(unsigned int CardHandle)
7591{ 7591{
7592 FlashPoint_ReleaseHostAdapter(CardHandle); 7592 FlashPoint_ReleaseHostAdapter(CardHandle);
7593} 7593}
7594 7594
7595static inline void 7595static inline void
7596FlashPoint__StartCCB(FlashPoint_CardHandle_T CardHandle, 7596FlashPoint__StartCCB(unsigned int CardHandle,
7597 struct BusLogic_CCB *CCB) 7597 struct blogic_ccb *CCB)
7598{ 7598{
7599 FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); 7599 FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB);
7600} 7600}
7601 7601
7602static inline void 7602static inline void
7603FlashPoint__AbortCCB(FlashPoint_CardHandle_T CardHandle, 7603FlashPoint__AbortCCB(unsigned int CardHandle,
7604 struct BusLogic_CCB *CCB) 7604 struct blogic_ccb *CCB)
7605{ 7605{
7606 FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB); 7606 FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB);
7607} 7607}
7608 7608
7609static inline bool 7609static inline bool
7610FlashPoint__InterruptPending(FlashPoint_CardHandle_T CardHandle) 7610FlashPoint__InterruptPending(unsigned int CardHandle)
7611{ 7611{
7612 return FlashPoint_InterruptPending(CardHandle); 7612 return FlashPoint_InterruptPending(CardHandle);
7613} 7613}
7614 7614
7615static inline int 7615static inline int
7616FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) 7616FlashPoint__HandleInterrupt(unsigned int CardHandle)
7617{ 7617{
7618 return FlashPoint_HandleInterrupt(CardHandle); 7618 return FlashPoint_HandleInterrupt(CardHandle);
7619} 7619}
@@ -7632,13 +7632,12 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle)
7632 Define prototypes for the FlashPoint SCCB Manager Functions. 7632 Define prototypes for the FlashPoint SCCB Manager Functions.
7633*/ 7633*/
7634 7634
7635extern unsigned char FlashPoint_ProbeHostAdapter(struct FlashPoint_Info *); 7635extern unsigned char FlashPoint_ProbeHostAdapter(struct fpoint_info *);
7636extern FlashPoint_CardHandle_T 7636extern unsigned int FlashPoint_HardwareResetHostAdapter(struct fpoint_info *);
7637FlashPoint_HardwareResetHostAdapter(struct FlashPoint_Info *); 7637extern void FlashPoint_StartCCB(unsigned int, struct blogic_ccb *);
7638extern void FlashPoint_StartCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); 7638extern int FlashPoint_AbortCCB(unsigned int, struct blogic_ccb *);
7639extern int FlashPoint_AbortCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); 7639extern bool FlashPoint_InterruptPending(unsigned int);
7640extern bool FlashPoint_InterruptPending(FlashPoint_CardHandle_T); 7640extern int FlashPoint_HandleInterrupt(unsigned int);
7641extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); 7641extern void FlashPoint_ReleaseHostAdapter(unsigned int);
7642extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T);
7643 7642
7644#endif /* CONFIG_SCSI_FLASHPOINT */ 7643#endif /* CONFIG_SCSI_FLASHPOINT */