]> err.no Git - linux-2.6/blobdiff - drivers/ieee1394/sbp2.c
[PATCH] kexec: fix sparse warnings
[linux-2.6] / drivers / ieee1394 / sbp2.c
index 2bae300aad4629623ffc6c6d61b5a4f0cd727766..32368f3428ecfb3a425a3536e6432779e91fe619 100644 (file)
@@ -2648,7 +2648,7 @@ static const char *sbp2scsi_info (struct Scsi_Host *host)
         return "SCSI emulation for IEEE-1394 SBP-2 Devices";
 }
 
-static ssize_t sbp2_sysfs_ieee1394_id_show(struct device *dev, char *buf)
+static ssize_t sbp2_sysfs_ieee1394_id_show(struct device *dev, struct device_attribute *attr, char *buf)
 {
        struct scsi_device *sdev;
        struct scsi_id_instance_data *scsi_id;