]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
PCI: bus speed strings should be const
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 31 Aug 2010 22:25:55 +0000 (15:25 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 31 Aug 2010 22:28:00 +0000 (15:28 -0700)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/slot.c

index 659eaa0fc48facf81dad9c0b5c430498e01398e3..968cfea04f749ea76ffcb33bb62f114ecfd9a6ef 100644 (file)
@@ -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 */