aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/geode-rng.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-06-25 13:50:53 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-25 13:50:53 +0800
commit409a736336b560798f84d71ad6477c8fad20b523 (patch)
tree21745e512010f342c3a890cb07b79b461aa01adc /drivers/char/hw_random/geode-rng.c
parentcrypto: testmgr - Remove hash size check (diff)
downloadlinux-dev-409a736336b560798f84d71ad6477c8fad20b523.tar.xz
linux-dev-409a736336b560798f84d71ad6477c8fad20b523.zip
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/geode-rng.c')
-rw-r--r--drivers/char/hw_random/geode-rng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/hw_random/geode-rng.c b/drivers/char/hw_random/geode-rng.c
index 64d513f68368..4c4d4e140f98 100644
--- a/drivers/char/hw_random/geode-rng.c
+++ b/drivers/char/hw_random/geode-rng.c
@@ -46,8 +46,7 @@
* want to register another driver on the same PCI id.
*/
static const struct pci_device_id pci_tbl[] = {
- { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LX_AES,
- PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_LX_AES), 0, },
{ 0, }, /* terminate list */
};
MODULE_DEVICE_TABLE(pci, pci_tbl);