Staging: rtl8192e: use DEFINE_PCI_DEVICE_TABLE
authorNamhyung Kim <namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:27 +0000 (01:40 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:29:48 +0000 (16:29 -0800)
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>
drivers/staging/rtl8192e/r8192E_core.c

index b7d08605fd00db7fb17a3c2713297d36c4b5697e..fac4eee28e4e9ae9efb9492c2d9b1e428a639dc3 100644 (file)
@@ -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 */