]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: make PCI device id constant
authorNémeth Márton <nm127@freemail.hu>
Sun, 10 Jan 2010 12:14:26 +0000 (13:14 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 10 Jan 2010 16:04:19 +0000 (17:04 +0100)
commit575fb25eded8e026987b49b14ce1bd07f253223f
treefc9988664bd6b969103cea2543a4416774aebf12
parent2fa520c9f43b437120fef9b1c89ec949bbb36f9b
firewire: make PCI device id constant

The id_table field of the struct pci_driver is constant in <linux/pci.h>
so it is worth to make pci_table also constant.  Found with Coccinelle.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Cc: Julia Lawall <julia@diku.dk>
Cc: cocci@diku.dk
Signed-off-by: Stefan Richter stefanr@s5r6.in-berlin.de> (changelog)
drivers/firewire/ohci.c