Commit 839cb99e authored by Khalid Aziz's avatar Khalid Aziz Committed by James Bottomley

[SCSI] BusLogic: Fix style issues

Fix CamelCase and extra long lines in the buslogic driver.
Signed-off-by: default avatarKhalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 3b9373e9
This diff is collapsed.
This diff is collapsed.
...@@ -7573,47 +7573,47 @@ static unsigned char FPT_CalcLrc(unsigned char buffer[]) ...@@ -7573,47 +7573,47 @@ static unsigned char FPT_CalcLrc(unsigned char buffer[])
*/ */
static inline unsigned char static inline unsigned char
FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo) FlashPoint__ProbeHostAdapter(struct fpoint_info *FlashPointInfo)
{ {
return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *) return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *)
FlashPointInfo); FlashPointInfo);
} }
static inline FlashPoint_CardHandle_T static inline unsigned int
FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo) FlashPoint__HardwareResetHostAdapter(struct fpoint_info *FlashPointInfo)
{ {
return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *) return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *)
FlashPointInfo); FlashPointInfo);
} }
static inline void static inline void
FlashPoint__ReleaseHostAdapter(FlashPoint_CardHandle_T CardHandle) FlashPoint__ReleaseHostAdapter(unsigned int CardHandle)
{ {
FlashPoint_ReleaseHostAdapter(CardHandle); FlashPoint_ReleaseHostAdapter(CardHandle);
} }
static inline void static inline void
FlashPoint__StartCCB(FlashPoint_CardHandle_T CardHandle, FlashPoint__StartCCB(unsigned int CardHandle,
struct BusLogic_CCB *CCB) struct blogic_ccb *CCB)
{ {
FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB);
} }
static inline void static inline void
FlashPoint__AbortCCB(FlashPoint_CardHandle_T CardHandle, FlashPoint__AbortCCB(unsigned int CardHandle,
struct BusLogic_CCB *CCB) struct blogic_ccb *CCB)
{ {
FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB); FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB);
} }
static inline bool static inline bool
FlashPoint__InterruptPending(FlashPoint_CardHandle_T CardHandle) FlashPoint__InterruptPending(unsigned int CardHandle)
{ {
return FlashPoint_InterruptPending(CardHandle); return FlashPoint_InterruptPending(CardHandle);
} }
static inline int static inline int
FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) FlashPoint__HandleInterrupt(unsigned int CardHandle)
{ {
return FlashPoint_HandleInterrupt(CardHandle); return FlashPoint_HandleInterrupt(CardHandle);
} }
...@@ -7632,13 +7632,12 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) ...@@ -7632,13 +7632,12 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle)
Define prototypes for the FlashPoint SCCB Manager Functions. Define prototypes for the FlashPoint SCCB Manager Functions.
*/ */
extern unsigned char FlashPoint_ProbeHostAdapter(struct FlashPoint_Info *); extern unsigned char FlashPoint_ProbeHostAdapter(struct fpoint_info *);
extern FlashPoint_CardHandle_T extern unsigned int FlashPoint_HardwareResetHostAdapter(struct fpoint_info *);
FlashPoint_HardwareResetHostAdapter(struct FlashPoint_Info *); extern void FlashPoint_StartCCB(unsigned int, struct blogic_ccb *);
extern void FlashPoint_StartCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); extern int FlashPoint_AbortCCB(unsigned int, struct blogic_ccb *);
extern int FlashPoint_AbortCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); extern bool FlashPoint_InterruptPending(unsigned int);
extern bool FlashPoint_InterruptPending(FlashPoint_CardHandle_T); extern int FlashPoint_HandleInterrupt(unsigned int);
extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); extern void FlashPoint_ReleaseHostAdapter(unsigned int);
extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T);
#endif /* CONFIG_SCSI_FLASHPOINT */ #endif /* CONFIG_SCSI_FLASHPOINT */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment