aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-05-08 15:08:53 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-06-05 10:23:44 -0400
commit13a17fdeedbb156463a9a007378366ec0a0c30ef (patch)
tree246ac3f1600a3db8ad3e792d8aa3e98fa2f88100 /drivers
parenta4c38cfa462be3be6c200740a4f2edbae25903c5 (diff)
[SCSI] aacraid: linit.c make aac_show_serial_number static
drivers/scsi/aacraid/linit.c:865:9: warning: symbol 'aac_show_serial_number' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index 1f7c83607f84..5797b2c42f08 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -862,7 +862,7 @@ static ssize_t aac_show_bios_version(struct device *device,
862 return len; 862 return len;
863} 863}
864 864
865ssize_t aac_show_serial_number(struct device *device, 865static ssize_t aac_show_serial_number(struct device *device,
866 struct device_attribute *attr, char *buf) 866 struct device_attribute *attr, char *buf)
867{ 867{
868 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; 868 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;