[PATCH] pciehp: change name tag of "hpdriver_portdrv" variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think an appropriate name tag of "hpdriver_portdrv" variable
is "pciehp" rather than "hpdriver".

Signed-off-by: Taku Izumi <izumi.taku@xxxxxxxxxxxxxx>

 drivers/pci/hotplug/pciehp_core.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6.27.test/drivers/pci/hotplug/pciehp_core.c
===================================================================
--- linux-2.6.27.test.orig/drivers/pci/hotplug/pciehp_core.c
+++ linux-2.6.27.test/drivers/pci/hotplug/pciehp_core.c
@@ -490,10 +490,9 @@ static struct pcie_port_service_id port_
 	.driver_data =	0,
 	}, { /* end: all zeroes */ }
 };
-static const char device_name[] = "hpdriver";

 static struct pcie_port_service_driver hpdriver_portdrv = {
-	.name		= (char *)device_name,
+	.name		= PCIE_MODULE_NAME,
 	.id_table	= &port_pci_ids[0],

 	.probe		= pciehp_probe,


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux