diff options
author | Khalid Aziz <khalid.aziz@oracle.com> | 2013-05-16 21:44:13 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-26 21:18:48 -0400 |
commit | 839cb99e8f748391059d10388c8aea48a88c142c (patch) | |
tree | 718db65aa0ac282e373739ab97a6b7fbc9216069 /drivers/scsi/FlashPoint.c | |
parent | 3b9373e95a6019cf89abe6c8b17c07828db96ad4 (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.c | 35 |
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 | ||
7575 | static inline unsigned char | 7575 | static inline unsigned char |
7576 | FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo) | 7576 | FlashPoint__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 | ||
7582 | static inline FlashPoint_CardHandle_T | 7582 | static inline unsigned int |
7583 | FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo) | 7583 | FlashPoint__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 | ||
7589 | static inline void | 7589 | static inline void |
7590 | FlashPoint__ReleaseHostAdapter(FlashPoint_CardHandle_T CardHandle) | 7590 | FlashPoint__ReleaseHostAdapter(unsigned int CardHandle) |
7591 | { | 7591 | { |
7592 | FlashPoint_ReleaseHostAdapter(CardHandle); | 7592 | FlashPoint_ReleaseHostAdapter(CardHandle); |
7593 | } | 7593 | } |
7594 | 7594 | ||
7595 | static inline void | 7595 | static inline void |
7596 | FlashPoint__StartCCB(FlashPoint_CardHandle_T CardHandle, | 7596 | FlashPoint__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 | ||
7602 | static inline void | 7602 | static inline void |
7603 | FlashPoint__AbortCCB(FlashPoint_CardHandle_T CardHandle, | 7603 | FlashPoint__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 | ||
7609 | static inline bool | 7609 | static inline bool |
7610 | FlashPoint__InterruptPending(FlashPoint_CardHandle_T CardHandle) | 7610 | FlashPoint__InterruptPending(unsigned int CardHandle) |
7611 | { | 7611 | { |
7612 | return FlashPoint_InterruptPending(CardHandle); | 7612 | return FlashPoint_InterruptPending(CardHandle); |
7613 | } | 7613 | } |
7614 | 7614 | ||
7615 | static inline int | 7615 | static inline int |
7616 | FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) | 7616 | FlashPoint__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 | ||
7635 | extern unsigned char FlashPoint_ProbeHostAdapter(struct FlashPoint_Info *); | 7635 | extern unsigned char FlashPoint_ProbeHostAdapter(struct fpoint_info *); |
7636 | extern FlashPoint_CardHandle_T | 7636 | extern unsigned int FlashPoint_HardwareResetHostAdapter(struct fpoint_info *); |
7637 | FlashPoint_HardwareResetHostAdapter(struct FlashPoint_Info *); | 7637 | extern void FlashPoint_StartCCB(unsigned int, struct blogic_ccb *); |
7638 | extern void FlashPoint_StartCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); | 7638 | extern int FlashPoint_AbortCCB(unsigned int, struct blogic_ccb *); |
7639 | extern int FlashPoint_AbortCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); | 7639 | extern bool FlashPoint_InterruptPending(unsigned int); |
7640 | extern bool FlashPoint_InterruptPending(FlashPoint_CardHandle_T); | 7640 | extern int FlashPoint_HandleInterrupt(unsigned int); |
7641 | extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); | 7641 | extern void FlashPoint_ReleaseHostAdapter(unsigned int); |
7642 | extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T); | ||
7643 | 7642 | ||
7644 | #endif /* CONFIG_SCSI_FLASHPOINT */ | 7643 | #endif /* CONFIG_SCSI_FLASHPOINT */ |