Skip to content

Commit

Permalink
PCI: bus speed strings should be const
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Stephen Hemminger authored and Jesse Barnes committed Aug 31, 2010
1 parent 6e63e80 commit 17134d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/slot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 17134d9

Please sign in to comment.