aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-05-27 16:14:03 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:01:12 -0400
commit7136f9a78eece43226dee1a46ec6fc144f561239 (patch)
tree78e4cc00ec8ec5cc674d2a81a5df6fe8bbe91a9e /drivers/scsi/hpsa.c
parent58f8665cc369b9633af072afb741b8f0a01622fa (diff)
[SCSI] hpsa: mark hpsa_mark_hpsa_put_ctlr_into_performant_mode as __devinit
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 7e602d282d52..d495d8b19c9c 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -158,7 +158,7 @@ static void check_ioctl_unit_attention(struct ctlr_info *h,
158/* performant mode helper functions */ 158/* performant mode helper functions */
159static void calc_bucket_map(int *bucket, int num_buckets, 159static void calc_bucket_map(int *bucket, int num_buckets,
160 int nsgs, int *bucket_map); 160 int nsgs, int *bucket_map);
161static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h); 161static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h);
162static inline u32 next_command(struct ctlr_info *h); 162static inline u32 next_command(struct ctlr_info *h);
163 163
164static DEVICE_ATTR(raid_level, S_IRUGO, raid_level_show, NULL); 164static DEVICE_ATTR(raid_level, S_IRUGO, raid_level_show, NULL);
@@ -3803,7 +3803,7 @@ static void calc_bucket_map(int bucket[], int num_buckets,
3803 } 3803 }
3804} 3804}
3805 3805
3806static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) 3806static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h)
3807{ 3807{
3808 u32 trans_support; 3808 u32 trans_support;
3809 u64 trans_offset; 3809 u64 trans_offset;