summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron2010-05-27 22:14:03 +0200
committerJames Bottomley2010-07-27 19:01:12 +0200
commit7136f9a78eece43226dee1a46ec6fc144f561239 (patch)
tree78e4cc00ec8ec5cc674d2a81a5df6fe8bbe91a9e /drivers/scsi/hpsa.c
parent[SCSI] hpsa: clean up debug ifdefs (diff)
downloadkernel-qcow2-linux-7136f9a78eece43226dee1a46ec6fc144f561239.tar.gz
kernel-qcow2-linux-7136f9a78eece43226dee1a46ec6fc144f561239.tar.xz
kernel-qcow2-linux-7136f9a78eece43226dee1a46ec6fc144f561239.zip
[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,
/* performant mode helper functions */
static void calc_bucket_map(int *bucket, int num_buckets,
int nsgs, int *bucket_map);
-static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h);
+static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h);
static inline u32 next_command(struct ctlr_info *h);
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,
}
}
-static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h)
+static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h)
{
u32 trans_support;
u64 trans_offset;