summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-08-31 22:25:55 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-08-31 22:28:00 (GMT)
commit17134d96735115644cc2f0e2b1bab51ca6e3ab95 (patch)
tree887e91efc6f9618c8fad82a5ecb9d0820ad233dc /drivers
parent6e63e80d88521a176989ed14b420f42dc418e46a (diff)
downloadlinux-17134d96735115644cc2f0e2b1bab51ca6e3ab95.tar.xz
PCI: bus speed strings should be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
-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 659eaa0..968cfea 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 */