From patchwork Tue Aug 31 22:25:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 145771 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7VMPwsw006914 for ; Tue, 31 Aug 2010 22:25:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718Ab0HaWZ6 (ORCPT ); Tue, 31 Aug 2010 18:25:58 -0400 Received: from mail.vyatta.com ([76.74.103.46]:37259 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246Ab0HaWZ5 (ORCPT ); Tue, 31 Aug 2010 18:25:57 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 5B20E1828E92; Tue, 31 Aug 2010 15:20:41 -0700 (PDT) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8XsInbZLoibR; Tue, 31 Aug 2010 15:20:40 -0700 (PDT) Received: from nehalam (pool-74-107-135-205.ptldor.fios.verizon.net [74.107.135.205]) by mail.vyatta.com (Postfix) with ESMTPSA id 90DE4182897B; Tue, 31 Aug 2010 15:20:40 -0700 (PDT) Date: Tue, 31 Aug 2010 15:25:55 -0700 From: Stephen Hemminger To: Jesse Barnes Cc: linux-pci@vger.kernel.org Subject: [PATCH] pci: bus speed strings should be const Message-ID: <20100831152555.083a9c69@nehalam> Organization: Vyatta X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 31 Aug 2010 22:25:59 +0000 (UTC) --- 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 */