Browse Source

[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>
Harvey Harrison 17 years ago
parent
commit
13a17fdeed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/scsi/aacraid/linit.c

+ 1 - 1
drivers/scsi/aacraid/linit.c

@@ -862,7 +862,7 @@ static ssize_t aac_show_bios_version(struct device *device,
 	return len;
 	return len;
 }
 }
 
 
-ssize_t aac_show_serial_number(struct device *device,
+static ssize_t aac_show_serial_number(struct device *device,
 			       struct device_attribute *attr, char *buf)
 			       struct device_attribute *attr, char *buf)
 {
 {
 	struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
 	struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;