Re: [PATCH 1/3] staging: make PCI device id constant

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

 



On Sun, 10 Jan 2010 00:18:26 +0100
Németh Márton <nm127@xxxxxxxxxxx> wrote:

> From: Márton Németh <nm127@xxxxxxxxxxx>
> 
> The id_table field of the struct pci_driver is constant in
> <linux/pci.h> so it is worth to make the initialization data also
> constant.


the PCI ID table can get written too via sysfs... making it const
breaks that...


-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux