diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-05-27 16:14:03 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:12 -0400 |
commit | 7136f9a78eece43226dee1a46ec6fc144f561239 (patch) | |
tree | 78e4cc00ec8ec5cc674d2a81a5df6fe8bbe91a9e /drivers/scsi/hpsa.c | |
parent | 58f8665cc369b9633af072afb741b8f0a01622fa (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.c | 4 |
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 */ |
159 | static void calc_bucket_map(int *bucket, int num_buckets, | 159 | static void calc_bucket_map(int *bucket, int num_buckets, |
160 | int nsgs, int *bucket_map); | 160 | int nsgs, int *bucket_map); |
161 | static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h); | 161 | static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h); |
162 | static inline u32 next_command(struct ctlr_info *h); | 162 | static inline u32 next_command(struct ctlr_info *h); |
163 | 163 | ||
164 | static DEVICE_ATTR(raid_level, S_IRUGO, raid_level_show, NULL); | 164 | static 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 | ||
3806 | static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) | 3806 | static __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; |