You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull DEFINE_PCI_DEVICE_TABLE removal from Bjorn Helgaas:
"Part two of the PCI changes for v3.17:
- Remove DEFINE_PCI_DEVICE_TABLE macro use (Benoit Taine)
It's a mechanical change that removes uses of the
DEFINE_PCI_DEVICE_TABLE macro. I waited until later in the merge
window to reduce conflicts, but it's possible you'll still see a few"
* tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
This commit is contained in:
@@ -945,7 +945,7 @@ static struct intel_uncore_type *snbep_pci_uncores[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(snbep_uncore_pci_ids) = {
|
||||
static const struct pci_device_id snbep_uncore_pci_ids[] = {
|
||||
{ /* Home Agent */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UNC_HA),
|
||||
.driver_data = UNCORE_PCI_DEV_DATA(SNBEP_PCI_UNCORE_HA, 0),
|
||||
@@ -1510,7 +1510,7 @@ static struct intel_uncore_type *ivt_pci_uncores[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(ivt_uncore_pci_ids) = {
|
||||
static const struct pci_device_id ivt_uncore_pci_ids[] = {
|
||||
{ /* Home Agent 0 */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe30),
|
||||
.driver_data = UNCORE_PCI_DEV_DATA(IVT_PCI_UNCORE_HA, 0),
|
||||
@@ -1985,7 +1985,7 @@ static struct intel_uncore_type *snb_pci_uncores[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(snb_uncore_pci_ids) = {
|
||||
static const struct pci_device_id snb_uncore_pci_ids[] = {
|
||||
{ /* IMC */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SNB_IMC),
|
||||
.driver_data = UNCORE_PCI_DEV_DATA(SNB_PCI_UNCORE_IMC, 0),
|
||||
@@ -1993,7 +1993,7 @@ static DEFINE_PCI_DEVICE_TABLE(snb_uncore_pci_ids) = {
|
||||
{ /* end: all zeroes */ },
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(ivb_uncore_pci_ids) = {
|
||||
static const struct pci_device_id ivb_uncore_pci_ids[] = {
|
||||
{ /* IMC */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IVB_IMC),
|
||||
.driver_data = UNCORE_PCI_DEV_DATA(SNB_PCI_UNCORE_IMC, 0),
|
||||
@@ -2001,7 +2001,7 @@ static DEFINE_PCI_DEVICE_TABLE(ivb_uncore_pci_ids) = {
|
||||
{ /* end: all zeroes */ },
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(hsw_uncore_pci_ids) = {
|
||||
static const struct pci_device_id hsw_uncore_pci_ids[] = {
|
||||
{ /* IMC */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HSW_IMC),
|
||||
.driver_data = UNCORE_PCI_DEV_DATA(SNB_PCI_UNCORE_IMC, 0),
|
||||
|
||||
@@ -202,7 +202,7 @@ static int iosf_mbi_probe(struct pci_dev *pdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(iosf_mbi_pci_ids) = {
|
||||
static const struct pci_device_id iosf_mbi_pci_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_BAYTRAIL) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_QUARK_X1000) },
|
||||
{ 0, },
|
||||
|
||||
@@ -4632,7 +4632,7 @@ static void mtip_pci_shutdown(struct pci_dev *pdev)
|
||||
}
|
||||
|
||||
/* Table of device ids supported by this driver. */
|
||||
static DEFINE_PCI_DEVICE_TABLE(mtip_pci_tbl) = {
|
||||
static const struct pci_device_id mtip_pci_tbl[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MICRON, P320H_DEVICE_ID) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MICRON, P320M_DEVICE_ID) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MICRON, P320S_DEVICE_ID) },
|
||||
|
||||
@@ -1137,7 +1137,7 @@ static const struct pci_error_handlers rsxx_err_handler = {
|
||||
.slot_reset = rsxx_slot_reset,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(rsxx_pci_ids) = {
|
||||
static const struct pci_device_id rsxx_pci_ids[] = {
|
||||
{PCI_DEVICE(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_FS70_FLASH)},
|
||||
{PCI_DEVICE(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_FS80_FLASH)},
|
||||
{0,},
|
||||
|
||||
@@ -4766,7 +4766,7 @@ static const struct block_device_operations skd_blockdev_ops = {
|
||||
*****************************************************************************
|
||||
*/
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(skd_pci_tbl) = {
|
||||
static const struct pci_device_id skd_pci_tbl[] = {
|
||||
{ PCI_VENDOR_ID_STEC, PCI_DEVICE_ID_S1120,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
|
||||
{ 0 } /* terminate list */
|
||||
|
||||
@@ -320,7 +320,7 @@ static int ccp_pci_resume(struct pci_dev *pdev)
|
||||
}
|
||||
#endif
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(ccp_pci_table) = {
|
||||
static const struct pci_device_id ccp_pci_table[] = {
|
||||
{ PCI_VDEVICE(AMD, 0x1537), },
|
||||
/* Last entry must be zero */
|
||||
{ 0, }
|
||||
|
||||
@@ -51,7 +51,7 @@ static struct drm_driver driver;
|
||||
.subdevice = PCI_ANY_ID, \
|
||||
.driver_data = (unsigned long) info }
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
|
||||
static const struct pci_device_id pciidlist[] = {
|
||||
AST_VGA_DEVICE(PCI_CHIP_AST2000, NULL),
|
||||
AST_VGA_DEVICE(PCI_CHIP_AST2100, NULL),
|
||||
/* AST_VGA_DEVICE(PCI_CHIP_AST1180, NULL), - don't bind to 1180 for now */
|
||||
|
||||
@@ -177,7 +177,7 @@ static void bochs_pci_remove(struct pci_dev *pdev)
|
||||
drm_put_dev(dev);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(bochs_pci_tbl) = {
|
||||
static const struct pci_device_id bochs_pci_tbl[] = {
|
||||
{
|
||||
.vendor = 0x1234,
|
||||
.device = 0x1111,
|
||||
|
||||
@@ -29,7 +29,7 @@ module_param_named(modeset, cirrus_modeset, int, 0400);
|
||||
static struct drm_driver driver;
|
||||
|
||||
/* only bind to the cirrus chip in qemu */
|
||||
static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
|
||||
static const struct pci_device_id pciidlist[] = {
|
||||
{ PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, 0x1af4, 0x1100, 0,
|
||||
0, 0 },
|
||||
{0,}
|
||||
|
||||
@@ -674,7 +674,7 @@ failed_connector:
|
||||
kfree(gma_encoder);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(hdmi_ids) = {
|
||||
static const struct pci_device_id hdmi_ids[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080d) },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
@@ -54,7 +54,7 @@ static int psb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
|
||||
* PowerVR SGX545 - Cedartrail - Intel GMA 3650, Intel Atom D2550, D2700,
|
||||
* N2800
|
||||
*/
|
||||
static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
|
||||
static const struct pci_device_id pciidlist[] = {
|
||||
{ 0x8086, 0x8108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &psb_chip_ops },
|
||||
{ 0x8086, 0x8109, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &psb_chip_ops },
|
||||
#if defined(CONFIG_DRM_GMA600)
|
||||
|
||||
@@ -28,7 +28,7 @@ module_param_named(modeset, mgag200_modeset, int, 0400);
|
||||
|
||||
static struct drm_driver driver;
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
|
||||
static const struct pci_device_id pciidlist[] = {
|
||||
{ PCI_VENDOR_ID_MATROX, 0x522, PCI_ANY_ID, PCI_ANY_ID, 0, 0, G200_SE_A },
|
||||
{ PCI_VENDOR_ID_MATROX, 0x524, PCI_ANY_ID, PCI_ANY_ID, 0, 0, G200_SE_B },
|
||||
{ PCI_VENDOR_ID_MATROX, 0x530, PCI_ANY_ID, PCI_ANY_ID, 0, 0, G200_EV },
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "qxl_object.h"
|
||||
|
||||
extern int qxl_max_ioctls;
|
||||
static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
|
||||
static const struct pci_device_id pciidlist[] = {
|
||||
{ 0x1b36, 0x100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8,
|
||||
0xffff00, 0 },
|
||||
{ 0x1b36, 0x100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_OTHER << 8,
|
||||
|
||||
@@ -1222,7 +1222,7 @@ static int qib_init_one(struct pci_dev *, const struct pci_device_id *);
|
||||
#define DRIVER_LOAD_MSG "Intel " QIB_DRV_NAME " loaded: "
|
||||
#define PFX QIB_DRV_NAME ": "
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(qib_pci_tbl) = {
|
||||
static const struct pci_device_id qib_pci_tbl[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE, PCI_DEVICE_ID_QLOGIC_IB_6120) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_IB_7220) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_IB_7322) },
|
||||
|
||||
@@ -490,7 +490,7 @@ out:
|
||||
|
||||
/* Start of PCI section */
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(usnic_ib_pci_ids) = {
|
||||
static const struct pci_device_id usnic_ib_pci_ids[] = {
|
||||
{PCI_DEVICE(PCI_VENDOR_ID_CISCO, PCI_DEVICE_ID_CISCO_VIC_USPACE_NIC)},
|
||||
{0,}
|
||||
};
|
||||
|
||||
@@ -102,7 +102,7 @@ static int dw_mci_pci_resume(struct device *dev)
|
||||
|
||||
static SIMPLE_DEV_PM_OPS(dw_mci_pci_pmops, dw_mci_pci_suspend, dw_mci_pci_resume);
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(dw_mci_pci_id) = {
|
||||
static const struct pci_device_id dw_mci_pci_id[] = {
|
||||
{ PCI_DEVICE(SYNOPSYS_DW_MCI_VENDOR_ID, SYNOPSYS_DW_MCI_DEVICE_ID) },
|
||||
{}
|
||||
};
|
||||
|
||||
@@ -144,7 +144,7 @@ static void com20020pci_remove(struct pci_dev *pdev)
|
||||
free_netdev(dev);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(com20020pci_id_table) = {
|
||||
static const struct pci_device_id com20020pci_id_table[] = {
|
||||
{ 0x1571, 0xa001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
|
||||
{ 0x1571, 0xa002, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
|
||||
{ 0x1571, 0xa003, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
|
||||
|
||||
@@ -270,7 +270,8 @@ static struct c_can_pci_data c_can_pch = {
|
||||
PCI_DEVICE(_vend, _dev), \
|
||||
.driver_data = (unsigned long)&_driverdata, \
|
||||
}
|
||||
static DEFINE_PCI_DEVICE_TABLE(c_can_pci_tbl) = {
|
||||
|
||||
static const struct pci_device_id c_can_pci_tbl[] = {
|
||||
C_CAN_ID(PCI_VENDOR_ID_STMICRO, PCI_DEVICE_ID_STMICRO_CAN,
|
||||
c_can_sta2x11),
|
||||
C_CAN_ID(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PCH_CAN,
|
||||
|
||||
@@ -194,7 +194,7 @@ static const struct can_bittiming_const pch_can_bittiming_const = {
|
||||
.brp_inc = 1,
|
||||
};
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(pch_pci_tbl) = {
|
||||
static const struct pci_device_id pch_pci_tbl[] = {
|
||||
{PCI_VENDOR_ID_INTEL, 0x8818, PCI_ANY_ID, PCI_ANY_ID,},
|
||||
{0,}
|
||||
};
|
||||
|
||||
@@ -101,7 +101,7 @@ struct ems_pci_card {
|
||||
|
||||
#define EMS_PCI_BASE_SIZE 4096 /* size of controller area */
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(ems_pci_tbl) = {
|
||||
static const struct pci_device_id ems_pci_tbl[] = {
|
||||
/* CPC-PCI v1 */
|
||||
{PCI_VENDOR_ID_SIEMENS, 0x2104, PCI_ANY_ID, PCI_ANY_ID,},
|
||||
/* CPC-PCI v2 */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user