]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] aacraid: linit.c make aac_show_serial_number static
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 8 May 2008 19:08:53 +0000 (12:08 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 5 Jun 2008 14:23:44 +0000 (09:23 -0500)
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>
drivers/scsi/aacraid/linit.c

index 1f7c83607f84729a918c640e83a67daf9e45643e..5797b2c42f0859e1f4fbb4481a901651b8ba7706 100644 (file)
@@ -862,7 +862,7 @@ static ssize_t aac_show_bios_version(struct device *device,
        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 aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;