aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/cciss.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h
index c5d411174db0..c527932d223a 100644
--- a/drivers/block/cciss.h
+++ b/drivers/block/cciss.h
@@ -25,7 +25,7 @@ struct access_method {
25 void (*submit_command)(ctlr_info_t *h, CommandList_struct *c); 25 void (*submit_command)(ctlr_info_t *h, CommandList_struct *c);
26 void (*set_intr_mask)(ctlr_info_t *h, unsigned long val); 26 void (*set_intr_mask)(ctlr_info_t *h, unsigned long val);
27 unsigned long (*fifo_full)(ctlr_info_t *h); 27 unsigned long (*fifo_full)(ctlr_info_t *h);
28 unsigned long (*intr_pending)(ctlr_info_t *h); 28 bool (*intr_pending)(ctlr_info_t *h);
29 unsigned long (*command_completed)(ctlr_info_t *h); 29 unsigned long (*command_completed)(ctlr_info_t *h);
30}; 30};
31typedef struct _drive_info_struct 31typedef struct _drive_info_struct
@@ -253,7 +253,7 @@ static unsigned long SA5_completed(ctlr_info_t *h)
253/* 253/*
254 * Returns true if an interrupt is pending.. 254 * Returns true if an interrupt is pending..
255 */ 255 */
256static unsigned long SA5_intr_pending(ctlr_info_t *h) 256static bool SA5_intr_pending(ctlr_info_t *h)
257{ 257{
258 unsigned long register_value = 258 unsigned long register_value =
259 readl(h->vaddr + SA5_INTR_STATUS); 259 readl(h->vaddr + SA5_INTR_STATUS);
@@ -268,7 +268,7 @@ static unsigned long SA5_intr_pending(ctlr_info_t *h)
268/* 268/*
269 * Returns true if an interrupt is pending.. 269 * Returns true if an interrupt is pending..
270 */ 270 */
271static unsigned long SA5B_intr_pending(ctlr_info_t *h) 271static bool SA5B_intr_pending(ctlr_info_t *h)
272{ 272{
273 unsigned long register_value = 273 unsigned long register_value =
274 readl(h->vaddr + SA5_INTR_STATUS); 274 readl(h->vaddr + SA5_INTR_STATUS);