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: MMI-PSA29.97-13-9~21393^2~79 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2cea0cf284048b03a06e4370709cd751ddb9354e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 3ddc93ba7049..42de83e6f1d9 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) }, { }, };