diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-10 01:40:30 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 16:29:47 -0800 |
commit | 2cea0cf284048b03a06e4370709cd751ddb9354e (patch) | |
tree | c7b098dc74f93c28a45f727278bd2132f39c334b /drivers/staging/vme | |
parent | 310d605293f0ab6dc9c7fe7a3cb5c850c60527b4 (diff) | |
download | op-kernel-dev-2cea0cf284048b03a06e4370709cd751ddb9354e.zip op-kernel-dev-2cea0cf284048b03a06e4370709cd751ddb9354e.tar.gz |
Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLE
Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r-- | drivers/staging/vme/bridges/vme_ca91cx42.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/bridges/vme_ca91cx42.c b/drivers/staging/vme/bridges/vme_ca91cx42.c index 3ddc93b..42de83e 100644 --- a/drivers/staging/vme/bridges/vme_ca91cx42.c +++ b/drivers/staging/vme/bridges/vme_ca91cx42.c @@ -44,7 +44,7 @@ static int geoid; static char driver_name[] = "vme_ca91cx42"; -static const struct pci_device_id ca91cx42_ids[] = { +static DEFINE_PCI_DEVICE_TABLE(ca91cx42_ids) = { { PCI_DEVICE(PCI_VENDOR_ID_TUNDRA, PCI_DEVICE_ID_TUNDRA_CA91C142) }, { }, }; |