Skip to contentSkip to conversation

aacraid: linit.c make aac_show_serial_number static

PATCH New Harvey Harrison 1 participant 1 message May 8, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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?

---
 drivers/scsi/aacraid/linit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/aacraid/linit.c +1 -1
index 1f7c836..5797b2c 100644
@@ -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;
Signature · 1 line
1.5.5.1.404.g981f6