diff mbox

pci: bus speed strings should be const

Message ID 20100831152555.083a9c69@nehalam (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Stephen Hemminger Aug. 31, 2010, 10:25 p.m. UTC
None
diff mbox

Patch

--- a/drivers/pci/slot.c	2010-08-31 15:06:55.962055687 -0700
+++ b/drivers/pci/slot.c	2010-08-31 15:08:20.419444668 -0700
@@ -49,7 +49,7 @@  static ssize_t address_read_file(struct 
 }
 
 /* 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 */