summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-09-01 00:25:55 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-09-01 00:28:00 +0200
commit17134d96735115644cc2f0e2b1bab51ca6e3ab95 (patch)
tree887e91efc6f9618c8fad82a5ecb9d0820ad233dc
parentPCI hotplug: Fix build with CONFIG_ACPI unset (diff)
downloadlinux-17134d96735115644cc2f0e2b1bab51ca6e3ab95.tar.xz
linux-17134d96735115644cc2f0e2b1bab51ca6e3ab95.zip
PCI: bus speed strings should be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--drivers/pci/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c
index 659eaa0fc48f..968cfea04f74 100644
--- a/drivers/pci/slot.c
+++ b/drivers/pci/slot.c
@@ -49,7 +49,7 @@ static ssize_t address_read_file(struct pci_slot *slot, char *buf)
}
/* these strings match up with the values in pci_bus_speed */
-static char *pci_bus_speed_strings[] = {
+static const char *pci_bus_speed_strings[] = {
"33 MHz PCI", /* 0x00 */
"66 MHz PCI", /* 0x01 */
"66 MHz PCI-X", /* 0x02 */