Skip to contentSkip to conversation

sata_highbank: Rename proc_name to the module name

PATCH Applied Robert Richter 3 participants 3 messages Apr 30, 2013

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

PATCH 1/1 sata_highbank: Rename proc_name to the module name

From: Robert Richter <[email protected]>

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.

Cc Rob Herring <[email protected]>
Cc Alexander Graf <[email protected]>
Cc <[email protected]> v3.7..
---
 drivers/ata/sata_highbank.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/sata_highbank.c +1 -1
index 5dba77c..b1a664a 100644
@@ -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[] = {
Signature · 1 line
1.8.1.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Robert Richter

From: Robert Richter<[email protected]>

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.

Cc Rob Herring<[email protected]>
Cc Alexander Graf<[email protected]>
Cc <[email protected]> v3.7..

Alex

Quoted 17 lines
---
  drivers/ata/sata_highbank.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/sata_highbank.c +1 -1
index 5dba77c..b1a664a 100644
@@ -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[] = {
Applied
#2 lore raw
In reply to Robert Richter
Quoted 6 lines · Robert Richter

From: Robert Richter <[email protected]>

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.

Quoted 7 lines
Cc Rob Herring <[email protected]>
Cc Alexander Graf <[email protected]>
Cc <[email protected]> v3.7..
---
  drivers/ata/sata_highbank.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

applied