aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/amd-rng.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-06-25 01:50:53 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-25 01:50:53 -0400
commit409a736336b560798f84d71ad6477c8fad20b523 (patch)
tree21745e512010f342c3a890cb07b79b461aa01adc /drivers/char/hw_random/amd-rng.c
parent259c5e05c13daaaea039b5bf29a2674701cfd68e (diff)
hwrng: Use PCI_VDEVICE
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/amd-rng.c')
-rw-r--r--drivers/char/hw_random/amd-rng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c
index cd0ba51f7c80..0d8c5788b8e4 100644
--- a/drivers/char/hw_random/amd-rng.c
+++ b/drivers/char/hw_random/amd-rng.c
@@ -44,8 +44,8 @@
44 * want to register another driver on the same PCI id. 44 * want to register another driver on the same PCI id.
45 */ 45 */
46static const struct pci_device_id pci_tbl[] = { 46static const struct pci_device_id pci_tbl[] = {
47 { 0x1022, 0x7443, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, 47 { PCI_VDEVICE(AMD, 0x7443), 0, },
48 { 0x1022, 0x746b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, 48 { PCI_VDEVICE(AMD, 0x746b), 0, },
49 { 0, }, /* terminate list */ 49 { 0, }, /* terminate list */
50}; 50};
51MODULE_DEVICE_TABLE(pci, pci_tbl); 51MODULE_DEVICE_TABLE(pci, pci_tbl);