From: Namhyung Kim Date: Thu, 9 Dec 2010 16:40:27 +0000 (+0900) Subject: Staging: rtl8192e: use DEFINE_PCI_DEVICE_TABLE X-Git-Tag: MMI-PSA29.97-13-9~21393^2~75 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5eaa53de2d9acd9dbcf737b247a0bb0788e79fdf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: rtl8192e: 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/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index b7d08605fd00..fac4eee28e4e 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -89,7 +89,7 @@ u32 rt_global_debug_component = // COMP_INTR | COMP_ERR ; //always open err flags on -static const struct pci_device_id rtl8192_pci_id_tbl[] __devinitdata = { +static DEFINE_PCI_DEVICE_TABLE(rtl8192_pci_id_tbl) = { #ifdef RTL8190P /* Realtek */ /* Dlink */