diff options
Diffstat (limited to 'drivers/pci/pcie/portdrv_pci.c')
-rw-r--r-- | drivers/pci/pcie/portdrv_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 6df5c984a791..f635e476d632 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c | |||
@@ -30,7 +30,6 @@ MODULE_DESCRIPTION(DRIVER_DESC); | |||
30 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
31 | 31 | ||
32 | /* global data */ | 32 | /* global data */ |
33 | static const char device_name[] = "pcieport-driver"; | ||
34 | 33 | ||
35 | static int pcie_portdrv_restore_config(struct pci_dev *dev) | 34 | static int pcie_portdrv_restore_config(struct pci_dev *dev) |
36 | { | 35 | { |
@@ -262,7 +261,7 @@ static struct pci_error_handlers pcie_portdrv_err_handler = { | |||
262 | }; | 261 | }; |
263 | 262 | ||
264 | static struct pci_driver pcie_portdriver = { | 263 | static struct pci_driver pcie_portdriver = { |
265 | .name = (char *)device_name, | 264 | .name = "pcieport", |
266 | .id_table = &port_pci_ids[0], | 265 | .id_table = &port_pci_ids[0], |
267 | 266 | ||
268 | .probe = pcie_portdrv_probe, | 267 | .probe = pcie_portdrv_probe, |