]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sata_highbank: Rename proc_name to the module name
authorRobert Richter <robert.richter@calxeda.com>
Tue, 30 Apr 2013 16:57:18 +0000 (18:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:33:12 +0000 (20:33 -0700)
commit 2cc1144a31f76d4a9fb48bec5d6ba1359f980813 upstream.

mkinitrd looks at /sys/class/scsi_host/host$hostnum/proc_name to find
the module name of a disk driver. Current name is "highbank-ahci" but
the module is "sata_highbank". Rename it to match the module name.

Signed-off-by: Robert Richter <robert.richter@calxeda.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/sata_highbank.c

index 5dba77ccaa0b9e89badebcad04b2525c7d5e9add..b1a664a8f55d21737049eaa430c32d8beb4fb2aa 100644 (file)
@@ -251,7 +251,7 @@ static const struct ata_port_info ahci_highbank_port_info = {
 };
 
 static struct scsi_host_template ahci_highbank_platform_sht = {
-       AHCI_SHT("highbank-ahci"),
+       AHCI_SHT("sata_highbank"),
 };
 
 static const struct of_device_id ahci_of_match[] = {