Re: [PATCH] pci: bus speed strings should be const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 31 Aug 2010 15:25:55 -0700
Stephen Hemminger <shemminger@xxxxxxxxxx> wrote:

> 
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>
> 
> --- 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 */
> 

Applied to my linux-next branch, thanks.

-- 
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux