2013-04-30 16:58:10

by Robert Richter

[permalink] [raw]
Subject: [PATCH] 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..
Signed-off-by: Robert Richter <[email protected]>
---
drivers/ata/sata_highbank.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c
index 5dba77c..b1a664a 100644
--- a/drivers/ata/sata_highbank.c
+++ b/drivers/ata/sata_highbank.c
@@ -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[] = {
--
1.8.1.1


2013-04-30 16:59:19

by Alexander Graf

[permalink] [raw]
Subject: Re: [PATCH] sata_highbank: Rename proc_name to the module name

On 04/30/2013 06:57 PM, Robert Richter wrote:
> 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..
> Signed-off-by: Robert Richter<[email protected]>

Acked-by: Alexander Graf <[email protected]>


Alex

> ---
> drivers/ata/sata_highbank.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c
> index 5dba77c..b1a664a 100644
> --- a/drivers/ata/sata_highbank.c
> +++ b/drivers/ata/sata_highbank.c
> @@ -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[] = {

2013-04-30 22:33:37

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] sata_highbank: Rename proc_name to the module name

On 04/30/2013 12:57 PM, Robert Richter wrote:
> 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..
> Signed-off-by: Robert Richter <[email protected]>
> ---
> drivers/ata/sata_highbank.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied