From: Namhyung Kim Date: Thu, 9 Dec 2010 16:40:30 +0000 (+0900) Subject: Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLE X-Git-Tag: v2.6.38-rc1~423^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cea0cf284048b03a06e4370709cd751ddb9354e;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Greg Kroah-Hartman --- 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) }, { }, };