diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-10 08:23:58 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-10 08:28:52 +0100 |
commit | a9844b18502bde376284e4ad83b04fa20eb5afa5 (patch) | |
tree | 478277307f2a394ee68e9307189df9729c1a4bc5 /drivers/input/gameport/fm801-gp.c | |
parent | Input: xilinx_ps2 - make Open Firmware device ids constant (diff) | |
download | linux-a9844b18502bde376284e4ad83b04fa20eb5afa5.tar.xz linux-a9844b18502bde376284e4ad83b04fa20eb5afa5.zip |
Input: make PCI device ids constant
The id_table field of the struct pci_driver is constant in <linux/pci.h>
so it makes sense to mark initialization data also constant.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport/fm801-gp.c')
-rw-r--r-- | drivers/input/gameport/fm801-gp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/gameport/fm801-gp.c b/drivers/input/gameport/fm801-gp.c index 8a1810f88b9e..14d3f3e208a2 100644 --- a/drivers/input/gameport/fm801-gp.c +++ b/drivers/input/gameport/fm801-gp.c @@ -140,7 +140,7 @@ static void __devexit fm801_gp_remove(struct pci_dev *pci) } } -static struct pci_device_id fm801_gp_id_table[] = { +static const struct pci_device_id fm801_gp_id_table[] = { { PCI_VENDOR_ID_FORTEMEDIA, PCI_DEVICE_ID_FM801_GP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } }; |