Ever wondered where those "setting incorrect section attributes for

rodata.pci_driver" warnings are coming from? We were packing those
structures into a read-only segment, but forgot to mark them const.

Despite its size, this is a fairly trivial patch created by a simple
search/replace

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2007-10-24 09:08:58 +00:00 committed by Stefan Reinauer
parent 0dff6e3fa9
commit f1cf1f7c3a
143 changed files with 242 additions and 242 deletions

View file

@ -72,7 +72,7 @@ static struct device_operations cpu_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver cpu_driver __pci_driver = { static const struct pci_driver cpu_driver __pci_driver = {
.ops = &cpu_operations, .ops = &cpu_operations,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x3000 .device = 0x3000

View file

@ -1499,7 +1499,7 @@ static struct device_operations ati_ragexl_graph_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ati_ragexl_graph_driver __pci_driver = { static const struct pci_driver ati_ragexl_graph_driver __pci_driver = {
.ops = &ati_ragexl_graph_ops, .ops = &ati_ragexl_graph_ops,
.vendor = PCI_VENDOR_ID_ATI, .vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_215XL, .device = PCI_DEVICE_ID_ATI_215XL,

View file

@ -81,7 +81,7 @@ static struct device_operations qemu_graph_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver qemu_graph_driver __pci_driver = { static const struct pci_driver qemu_graph_driver __pci_driver = {
.ops = &qemu_graph_ops, .ops = &qemu_graph_ops,
.vendor = 0x1234, .vendor = 0x1234,
.device = 0x1111, .device = 0x1111,

View file

@ -59,7 +59,7 @@ static struct device_operations si_sata_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver si_sata_driver __pci_driver = { static const struct pci_driver si_sata_driver __pci_driver = {
.ops = &si_sata_ops, .ops = &si_sata_ops,
.vendor = 0x1095, .vendor = 0x1095,
.device = 0x3114, .device = 0x3114,

View file

@ -1020,7 +1020,7 @@ static struct device_operations trident_blade3d_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver trident_blade3d_driver __pci_driver = { static const struct pci_driver trident_blade3d_driver __pci_driver = {
.ops = &trident_blade3d_ops, .ops = &trident_blade3d_ops,
.vendor = 0x1023, .vendor = 0x1023,
.device = 0x9880, .device = 0x9880,

View file

@ -27,7 +27,7 @@ static struct device_operations vga_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver vga_driver __pci_driver = { static const struct pci_driver vga_driver __pci_driver = {
.ops = &vga_operations, .ops = &vga_operations,
.vendor = 0x1013, .vendor = 0x1013,
.device = 0x00b8, .device = 0x00b8,

View file

@ -224,7 +224,7 @@ static struct device_operations mcf3_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver mcf3_driver __pci_driver = { static const struct pci_driver mcf3_driver __pci_driver = {
.ops = &mcf3_ops, .ops = &mcf3_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x1103, .device = 0x1103,

View file

@ -623,7 +623,7 @@ static struct device_operations northbridge_operations = {
}; };
static struct pci_driver mcf0_driver __pci_driver = { static const struct pci_driver mcf0_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x1100, .device = 0x1100,

View file

@ -59,7 +59,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_CYRIX, .vendor = PCI_VENDOR_ID_CYRIX,
.device = PCI_DEVICE_ID_CYRIX_PCI_MASTER, .device = PCI_DEVICE_ID_CYRIX_PCI_MASTER,

View file

@ -349,7 +349,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_NS, .vendor = PCI_VENDOR_ID_NS,
.device = PCI_DEVICE_ID_NS_GX2, .device = PCI_DEVICE_ID_NS_GX2,

View file

@ -225,7 +225,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_LXBRIDGE, .device = PCI_DEVICE_ID_AMD_LXBRIDGE,

View file

@ -229,7 +229,7 @@ static struct device_operations mc_ops = {
.ops_pci = &intel_pci_ops, .ops_pci = &intel_pci_ops,
}; };
static struct pci_driver mc_driver __pci_driver = { static const struct pci_driver mc_driver __pci_driver = {
.ops = &mc_ops, .ops = &mc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x3590, .device = 0x3590,

View file

@ -53,7 +53,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PA, .device = PCI_DEVICE_ID_INTEL_PCIE_PA,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1, .device = PCI_DEVICE_ID_INTEL_PCIE_PA1,

View file

@ -33,7 +33,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PB, .device = PCI_DEVICE_ID_INTEL_PCIE_PB,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PC, .device = PCI_DEVICE_ID_INTEL_PCIE_PC,

View file

@ -229,7 +229,7 @@ static struct device_operations mc_ops = {
.ops_pci = &intel_pci_ops, .ops_pci = &intel_pci_ops,
}; };
static struct pci_driver mc_driver __pci_driver = { static const struct pci_driver mc_driver __pci_driver = {
.ops = &mc_ops, .ops = &mc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x359e, .device = 0x359e,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PA, .device = PCI_DEVICE_ID_INTEL_PCIE_PA,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1, .device = PCI_DEVICE_ID_INTEL_PCIE_PA1,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PB, .device = PCI_DEVICE_ID_INTEL_PCIE_PB,

View file

@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCIE_PC, .device = PCI_DEVICE_ID_INTEL_PCIE_PC,

View file

@ -25,7 +25,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x7190, .device = 0x7190,

View file

@ -45,7 +45,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x7120, .device = 0x7120,

View file

@ -38,7 +38,7 @@ static struct device_operations northbridge_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = 0x0601, /* 0x8601 is the AGP bridge? */ .device = 0x0601, /* 0x8601 is the AGP bridge? */

View file

@ -81,7 +81,7 @@ static struct device_operations northbridge_operations = {
.init = northbridge_init .init = northbridge_init
}; };
static struct pci_driver northbridge_driver __pci_driver = { static const struct pci_driver northbridge_driver __pci_driver = {
.ops = &northbridge_operations, .ops = &northbridge_operations,
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_8623, .device = PCI_DEVICE_ID_VIA_8623,
@ -109,7 +109,7 @@ static struct device_operations agp_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver agp_driver __pci_driver = { static const struct pci_driver agp_driver __pci_driver = {
.ops = &agp_operations, .ops = &agp_operations,
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_8633_1, .device = PCI_DEVICE_ID_VIA_8633_1,
@ -200,7 +200,7 @@ static struct device_operations vga_operations = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver vga_driver __pci_driver = { static const struct pci_driver vga_driver __pci_driver = {
.ops = &vga_operations, .ops = &vga_operations,
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,
.device = 0x3122, .device = 0x3122,

View file

@ -28,7 +28,7 @@ static struct device_operations ac97audio_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ac97audio_driver __pci_driver = { static const struct pci_driver ac97audio_driver __pci_driver = {
.ops = &ac97audio_ops, .ops = &ac97audio_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x746D, .device = 0x746D,
@ -45,7 +45,7 @@ static struct device_operations ac97modem_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ac97modem_driver __pci_driver = { static const struct pci_driver ac97modem_driver __pci_driver = {
.ops = &ac97modem_ops, .ops = &ac97modem_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x746E, .device = 0x746E,

View file

@ -213,7 +213,7 @@ static struct device_operations acpi_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver acpi_driver __pci_driver = { static const struct pci_driver acpi_driver __pci_driver = {
.ops = &acpi_ops, .ops = &acpi_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_ACPI, .device = PCI_DEVICE_ID_AMD_8111_ACPI,

View file

@ -58,7 +58,7 @@ static struct device_operations ide_ops = {
.ops_pci = &lops_pci .ops_pci = &lops_pci
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_IDE, .device = PCI_DEVICE_ID_AMD_8111_IDE,

View file

@ -198,7 +198,7 @@ static struct device_operations lpc_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_ISA, .device = PCI_DEVICE_ID_AMD_8111_ISA,

View file

@ -82,7 +82,7 @@ static struct device_operations nic_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver nic_driver __pci_driver = { static const struct pci_driver nic_driver __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_NIC, .device = PCI_DEVICE_ID_AMD_8111_NIC,

View file

@ -60,7 +60,7 @@ static struct device_operations pci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_PCI, .device = PCI_DEVICE_ID_AMD_8111_PCI,

View file

@ -34,7 +34,7 @@ static struct device_operations smbus_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver smbus_driver __pci_driver = { static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops, .ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_SMB, .device = PCI_DEVICE_ID_AMD_8111_SMB,

View file

@ -30,7 +30,7 @@ static struct device_operations usb_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver usb_driver __pci_driver = { static const struct pci_driver usb_driver __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_USB, .device = PCI_DEVICE_ID_AMD_8111_USB,

View file

@ -38,7 +38,7 @@ static struct device_operations usb2_ops = {
// .ops_pci = &lops_pci, // .ops_pci = &lops_pci,
}; };
static struct pci_driver usb2_driver __pci_driver = { static const struct pci_driver usb2_driver __pci_driver = {
.ops = &usb2_ops, .ops = &usb2_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_8111_USB2, .device = PCI_DEVICE_ID_AMD_8111_USB2,

View file

@ -80,7 +80,7 @@ static struct device_operations pcix_ops = {
.enable = amd8131_enable, .enable = amd8131_enable,
}; };
static struct pci_driver pcix_driver __pci_driver = { static const struct pci_driver pcix_driver __pci_driver = {
.ops = &pcix_ops, .ops = &pcix_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7450, .device = 0x7450,
@ -108,7 +108,7 @@ static struct device_operations ioapic_ops = {
.enable = ioapic_enable, .enable = ioapic_enable,
}; };
static struct pci_driver ioapic_driver __pci_driver = { static const struct pci_driver ioapic_driver __pci_driver = {
.ops = &ioapic_ops, .ops = &ioapic_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7451, .device = 0x7451,

View file

@ -394,7 +394,7 @@ static struct device_operations pcix_ops = {
.reset_bus = pci_bus_reset, .reset_bus = pci_bus_reset,
}; };
static struct pci_driver pcix_driver __pci_driver = { static const struct pci_driver pcix_driver __pci_driver = {
.ops = &pcix_ops, .ops = &pcix_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7450, .device = 0x7450,
@ -427,7 +427,7 @@ static struct device_operations ioapic_ops = {
.ops_pci = &pci_ops_pci_dev, .ops_pci = &pci_ops_pci_dev,
}; };
static struct pci_driver ioapic_driver __pci_driver = { static const struct pci_driver ioapic_driver __pci_driver = {
.ops = &ioapic_ops, .ops = &ioapic_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7451, .device = 0x7451,

View file

@ -380,7 +380,7 @@ static struct device_operations pcix_ops = {
.reset_bus = pci_bus_reset, .reset_bus = pci_bus_reset,
}; };
static struct pci_driver pcix_driver __pci_driver = { static const struct pci_driver pcix_driver __pci_driver = {
.ops = &pcix_ops, .ops = &pcix_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7458, .device = 0x7458,
@ -449,7 +449,7 @@ static struct device_operations ioapic_ops = {
.ops_pci = &pci_ops_pci_dev, .ops_pci = &pci_ops_pci_dev,
}; };
static struct pci_driver ioapic_driver __pci_driver = { static const struct pci_driver ioapic_driver __pci_driver = {
.ops = &ioapic_ops, .ops = &ioapic_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7459, .device = 0x7459,

View file

@ -29,7 +29,7 @@ static struct device_operations agp3bridge_ops = {
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
}; };
static struct pci_driver agp3bridge_driver __pci_driver = { static const struct pci_driver agp3bridge_driver __pci_driver = {
.ops = &agp3bridge_ops, .ops = &agp3bridge_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7455, // AGP Bridge .device = 0x7455, // AGP Bridge
@ -68,7 +68,7 @@ static struct device_operations agp3dev_ops = {
.ops_pci = &pci_ops_pci_dev, .ops_pci = &pci_ops_pci_dev,
}; };
static struct pci_driver agp3dev_driver __pci_driver = { static const struct pci_driver agp3dev_driver __pci_driver = {
.ops = &agp3dev_ops, .ops = &agp3dev_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = 0x7454, //AGP Device .device = 0x7454, //AGP Device

View file

@ -71,7 +71,7 @@ static struct device_operations ide_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_CYRIX, .vendor = PCI_VENDOR_ID_CYRIX,
.device = PCI_DEVICE_ID_CYRIX_5530_IDE, .device = PCI_DEVICE_ID_CYRIX_5530_IDE,

View file

@ -53,7 +53,7 @@ static struct device_operations isa_ops = {
.scan_bus = scan_static_bus, .scan_bus = scan_static_bus,
}; };
static struct pci_driver isa_driver __pci_driver = { static const struct pci_driver isa_driver __pci_driver = {
.ops = &isa_ops, .ops = &isa_ops,
.vendor = PCI_VENDOR_ID_CYRIX, .vendor = PCI_VENDOR_ID_CYRIX,
.device = PCI_DEVICE_ID_CYRIX_5530_LEGACY, .device = PCI_DEVICE_ID_CYRIX_5530_LEGACY,

View file

@ -484,7 +484,7 @@ static struct device_operations vga_ops = {
.enable = NULL, /* not required */ .enable = NULL, /* not required */
}; };
static struct pci_driver vga_pci_driver __pci_driver = { static const struct pci_driver vga_pci_driver __pci_driver = {
.ops = &vga_ops, .ops = &vga_ops,
.vendor = PCI_VENDOR_ID_CYRIX, .vendor = PCI_VENDOR_ID_CYRIX,
.device = PCI_DEVICE_ID_CYRIX_5530_VIDEO, .device = PCI_DEVICE_ID_CYRIX_5530_VIDEO,

View file

@ -85,7 +85,7 @@ static struct device_operations southbridge_ops = {
.scan_bus = scan_static_bus, .scan_bus = scan_static_bus,
}; };
static struct pci_driver cs5535_pci_driver __pci_driver = { static const struct pci_driver cs5535_pci_driver __pci_driver = {
.ops = &southbridge_ops, .ops = &southbridge_ops,
.vendor = PCI_VENDOR_ID_NS, .vendor = PCI_VENDOR_ID_NS,
.device = PCI_DEVICE_ID_NS_CS5535 .device = PCI_DEVICE_ID_NS_CS5535

View file

@ -23,7 +23,7 @@ static struct device_operations ide_ops = {
.enable = ide_enable, .enable = ide_enable,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_NS, .vendor = PCI_VENDOR_ID_NS,
.device = PCI_DEVICE_ID_NS_CS5535_IDE, .device = PCI_DEVICE_ID_NS_CS5535_IDE,

View file

@ -627,7 +627,7 @@ static struct device_operations southbridge_ops = {
.scan_bus = scan_static_bus, .scan_bus = scan_static_bus,
}; };
static struct pci_driver cs5536_pci_driver __pci_driver = { static const struct pci_driver cs5536_pci_driver __pci_driver = {
.ops = &southbridge_ops, .ops = &southbridge_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_CS5536_ISA .device = PCI_DEVICE_ID_AMD_CS5536_ISA

View file

@ -61,7 +61,7 @@ static struct device_operations ide_ops = {
.enable = 0, .enable = 0,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_AMD, .vendor = PCI_VENDOR_ID_AMD,
.device = PCI_DEVICE_ID_AMD_CS5536_B0_IDE, .device = PCI_DEVICE_ID_AMD_CS5536_B0_IDE,

View file

@ -37,12 +37,12 @@ static struct device_operations nic_ops = {
.scan_bus = 0, .scan_bus = 0,
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver nic_driver __pci_driver = { static const struct pci_driver nic_driver __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_BROADCOM, .vendor = PCI_VENDOR_ID_BROADCOM,
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC, .device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC,
}; };
static struct pci_driver nic1_driver __pci_driver = { static const struct pci_driver nic1_driver __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_BROADCOM, .vendor = PCI_VENDOR_ID_BROADCOM,
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC1, .device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC1,

View file

@ -38,7 +38,7 @@ static struct device_operations pcie_ops = {
}; };
static struct pci_driver pcie_driver __pci_driver = { static const struct pci_driver pcie_driver __pci_driver = {
.ops = &pcie_ops, .ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PCIE, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PCIE,

View file

@ -29,7 +29,7 @@ static struct device_operations ht_ops = {
}; };
static struct pci_driver ht_driver __pci_driver = { static const struct pci_driver ht_driver __pci_driver = {
.ops = &ht_ops, .ops = &ht_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PXB, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PXB,

View file

@ -50,7 +50,7 @@ static struct device_operations ide_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_IDE, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_IDE,

View file

@ -129,7 +129,7 @@ static struct device_operations lpc_ops = {
// .enable = bcm5785_enable, // .enable = bcm5785_enable,
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_LPC, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_LPC,

View file

@ -87,7 +87,7 @@ static struct device_operations sata_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver sata0_driver __pci_driver = { static const struct pci_driver sata0_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SATA, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SATA,

View file

@ -145,7 +145,7 @@ static struct device_operations sb_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver sb_driver __pci_driver = { static const struct pci_driver sb_driver __pci_driver = {
.ops = &sb_ops, .ops = &sb_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SB_PCI_MAIN, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SB_PCI_MAIN,

View file

@ -41,7 +41,7 @@ static struct device_operations usb_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver usb_driver __pci_driver = { static const struct pci_driver usb_driver __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_SERVERWORKS, .vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_USB, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_USB,

View file

@ -25,12 +25,12 @@ static struct device_operations ac97_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ac97_audio_driver __pci_driver = { static const struct pci_driver ac97_audio_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_AUDIO, .device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_AUDIO,
}; };
static struct pci_driver ac97_modem_driver __pci_driver = { static const struct pci_driver ac97_modem_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_MODEM, .device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_MODEM,

View file

@ -43,7 +43,7 @@ static struct device_operations pci_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_BRIDGE1C, .device = PCI_DEVICE_ID_INTEL_6300ESB_BRIDGE1C,

View file

@ -43,7 +43,7 @@ static struct device_operations ehci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ehci_driver __pci_driver = { static const struct pci_driver ehci_driver __pci_driver = {
.ops = &ehci_ops, .ops = &ehci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_EHCI, .device = PCI_DEVICE_ID_INTEL_6300ESB_EHCI,

View file

@ -48,7 +48,7 @@ static struct device_operations ide_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_IDE, .device = PCI_DEVICE_ID_INTEL_6300ESB_IDE,

View file

@ -403,7 +403,7 @@ static struct device_operations lpc_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_ISA, .device = PCI_DEVICE_ID_INTEL_6300ESB_ISA,

View file

@ -29,7 +29,7 @@ static struct device_operations pci_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_PCI, .device = PCI_DEVICE_ID_INTEL_6300ESB_PCI,

View file

@ -101,7 +101,7 @@ static struct device_operations pci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_PIC1, .device = PCI_DEVICE_ID_INTEL_6300ESB_PIC1,

View file

@ -63,13 +63,13 @@ static struct device_operations sata_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver sata_driver __pci_driver = { static const struct pci_driver sata_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA, .device = PCI_DEVICE_ID_INTEL_6300ESB_SATA,
}; };
static struct pci_driver sata_driver_nr __pci_driver = { static const struct pci_driver sata_driver_nr __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_R, .device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_R,

View file

@ -37,7 +37,7 @@ static struct device_operations smbus_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver smbus_driver __pci_driver = { static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops, .ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_SMB, .device = PCI_DEVICE_ID_INTEL_6300ESB_SMB,

View file

@ -36,19 +36,19 @@ static struct device_operations uhci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver uhci_driver __pci_driver = { static const struct pci_driver uhci_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB, .device = PCI_DEVICE_ID_INTEL_6300ESB_USB,
}; };
static struct pci_driver usb2_driver __pci_driver = { static const struct pci_driver usb2_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB2, .device = PCI_DEVICE_ID_INTEL_6300ESB_USB2,
}; };
static struct pci_driver usb3_driver __pci_driver = { static const struct pci_driver usb3_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB3, .device = PCI_DEVICE_ID_INTEL_6300ESB_USB3,

View file

@ -69,7 +69,7 @@ static struct device_operations ide_ops = {
.ops_pci = 0, /* No subsystem IDs on 82371EB! */ .ops_pci = 0, /* No subsystem IDs on 82371EB! */
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82371AB_IDE, .device = PCI_DEVICE_ID_INTEL_82371AB_IDE,

View file

@ -38,7 +38,7 @@ static struct device_operations smbus_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver smbus_driver __pci_driver = { static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops, .ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82371AB_SMB, .device = PCI_DEVICE_ID_INTEL_82371AB_SMB,

View file

@ -18,7 +18,7 @@ static struct device_operations ac97audio_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ac97audio_driver __pci_driver = { static const struct pci_driver ac97audio_driver __pci_driver = {
.ops = &ac97audio_ops, .ops = &ac97audio_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_AUDIO, .device = PCI_DEVICE_ID_INTEL_82801CA_AC97_AUDIO,
@ -34,7 +34,7 @@ static struct device_operations ac97modem_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ac97modem_driver __pci_driver = { static const struct pci_driver ac97modem_driver __pci_driver = {
.ops = &ac97modem_ops, .ops = &ac97modem_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_MODEM, .device = PCI_DEVICE_ID_INTEL_82801CA_AC97_MODEM,

View file

@ -41,7 +41,7 @@ static struct device_operations ide_ops = {
.enable = i82801ca_enable, .enable = i82801ca_enable,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_IDE, .device = PCI_DEVICE_ID_INTEL_82801CA_IDE,

View file

@ -233,7 +233,7 @@ static struct device_operations lpc_ops = {
.enable = 0, .enable = 0,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_LPC, .device = PCI_DEVICE_ID_INTEL_82801CA_LPC,

View file

@ -14,7 +14,7 @@ static struct device_operations nic_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver nic_driver __pci_driver = { static const struct pci_driver nic_driver __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_LAN, .device = PCI_DEVICE_ID_INTEL_82801CA_LAN,

View file

@ -22,7 +22,7 @@ static struct device_operations pci_ops = {
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_PCI, .device = PCI_DEVICE_ID_INTEL_82801CA_PCI,

View file

@ -31,17 +31,17 @@ static struct device_operations usb_ops = {
.enable = i82801ca_enable, .enable = i82801ca_enable,
}; };
static struct pci_driver usb_driver_1 __pci_driver = { static const struct pci_driver usb_driver_1 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_USB, .device = PCI_DEVICE_ID_INTEL_82801CA_USB,
}; };
static struct pci_driver usb_driver_2 __pci_driver = { static const struct pci_driver usb_driver_2 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_USB2, .device = PCI_DEVICE_ID_INTEL_82801CA_USB2,
}; };
static struct pci_driver usb_driver_3 __pci_driver = { static const struct pci_driver usb_driver_3 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801CA_USB3, .device = PCI_DEVICE_ID_INTEL_82801CA_USB3,

View file

@ -43,12 +43,12 @@ static struct device_operations ac97_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ac97_audio_driver __pci_driver = { static const struct pci_driver ac97_audio_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_AC97_AUDIO, .device = PCI_DEVICE_ID_INTEL_82801DB_AC97_AUDIO,
}; };
static struct pci_driver ac97_modem_driver __pci_driver = { static const struct pci_driver ac97_modem_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_AC97_MODEM, .device = PCI_DEVICE_ID_INTEL_82801DB_AC97_MODEM,

View file

@ -61,7 +61,7 @@ static struct device_operations ehci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ehci_driver __pci_driver = { static const struct pci_driver ehci_driver __pci_driver = {
.ops = &ehci_ops, .ops = &ehci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_EHCI, .device = PCI_DEVICE_ID_INTEL_82801DB_EHCI,

View file

@ -67,7 +67,7 @@ static struct device_operations ide_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_IDE, .device = PCI_DEVICE_ID_INTEL_82801DB_IDE,

View file

@ -409,7 +409,7 @@ static struct device_operations lpc_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_ISA, .device = PCI_DEVICE_ID_INTEL_82801DB_ISA,

View file

@ -55,7 +55,7 @@ static struct device_operations pci_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_PCI, .device = PCI_DEVICE_ID_INTEL_82801DB_PCI,

View file

@ -55,7 +55,7 @@ static struct device_operations smbus_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver smbus_driver __pci_driver = { static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops, .ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_SMB, .device = PCI_DEVICE_ID_INTEL_82801DB_SMB,

View file

@ -54,19 +54,19 @@ static struct device_operations uhci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver uhci_driver __pci_driver = { static const struct pci_driver uhci_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_USB0, .device = PCI_DEVICE_ID_INTEL_82801DB_USB0,
}; };
static struct pci_driver usb2_driver __pci_driver = { static const struct pci_driver usb2_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_USB1, .device = PCI_DEVICE_ID_INTEL_82801DB_USB1,
}; };
static struct pci_driver usb3_driver __pci_driver = { static const struct pci_driver usb3_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DB_USB2, .device = PCI_DEVICE_ID_INTEL_82801DB_USB2,

View file

@ -18,7 +18,7 @@ static struct device_operations ac97audio_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ac97audio_driver __pci_driver = { static const struct pci_driver ac97audio_driver __pci_driver = {
.ops = &ac97audio_ops, .ops = &ac97audio_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F5, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F5,
@ -34,7 +34,7 @@ static struct device_operations ac97modem_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver ac97modem_driver __pci_driver = { static const struct pci_driver ac97modem_driver __pci_driver = {
.ops = &ac97modem_ops, .ops = &ac97modem_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F6, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F6,

View file

@ -45,7 +45,7 @@ static struct device_operations ide_ops = {
.enable = i82801dbm_enable, .enable = i82801dbm_enable,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1F1, .device = PCI_DEVICE_ID_INTEL_82801ER_1F1,

View file

@ -208,7 +208,7 @@ static struct device_operations lpc_ops = {
.enable = i82801dbm_enable, .enable = i82801dbm_enable,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F0, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F0,

View file

@ -14,7 +14,7 @@ static struct device_operations nic_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver nic_driver __pci_driver = { static const struct pci_driver nic_driver __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x103a, .device = 0x103a,

View file

@ -25,7 +25,7 @@ static struct device_operations pci_ops = {
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801DBM_1E0, .device = PCI_DEVICE_ID_INTEL_82801DBM_1E0,

View file

@ -67,7 +67,7 @@ static struct device_operations sata_ops = {
.enable = i82801dbm_enable, .enable = i82801dbm_enable,
}; };
static struct pci_driver stat_driver __pci_driver = { static const struct pci_driver stat_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R, .device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R,

View file

@ -32,22 +32,22 @@ static struct device_operations usb_ops = {
.enable = i82801dbm_enable, .enable = i82801dbm_enable,
}; };
static struct pci_driver usb_driver_1 __pci_driver = { static const struct pci_driver usb_driver_1 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1D0, .device = PCI_DEVICE_ID_INTEL_82801ER_1D0,
}; };
static struct pci_driver usb_driver_2 __pci_driver = { static const struct pci_driver usb_driver_2 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1D1, .device = PCI_DEVICE_ID_INTEL_82801ER_1D1,
}; };
static struct pci_driver usb_driver_3 __pci_driver = { static const struct pci_driver usb_driver_3 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1D2, .device = PCI_DEVICE_ID_INTEL_82801ER_1D2,
}; };
static struct pci_driver usb_driver_4 __pci_driver = { static const struct pci_driver usb_driver_4 __pci_driver = {
.ops = &usb_ops, .ops = &usb_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1D3, .device = PCI_DEVICE_ID_INTEL_82801ER_1D3,

View file

@ -33,7 +33,7 @@ static struct device_operations usb2_ops = {
.enable = i82801dbm_enable, .enable = i82801dbm_enable,
}; };
static struct pci_driver usb2_driver __pci_driver = { static const struct pci_driver usb2_driver __pci_driver = {
.ops = &usb2_ops, .ops = &usb2_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1D7, .device = PCI_DEVICE_ID_INTEL_82801ER_1D7,

View file

@ -25,12 +25,12 @@ static struct device_operations ac97_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ac97_audio_driver __pci_driver = { static const struct pci_driver ac97_audio_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_AC97_AUDIO, .device = PCI_DEVICE_ID_INTEL_82801ER_AC97_AUDIO,
}; };
static struct pci_driver ac97_modem_driver __pci_driver = { static const struct pci_driver ac97_modem_driver __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_AC97_MODEM, .device = PCI_DEVICE_ID_INTEL_82801ER_AC97_MODEM,

View file

@ -43,7 +43,7 @@ static struct device_operations ehci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ehci_driver __pci_driver = { static const struct pci_driver ehci_driver __pci_driver = {
.ops = &ehci_ops, .ops = &ehci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_EHCI, .device = PCI_DEVICE_ID_INTEL_82801ER_EHCI,

View file

@ -35,7 +35,7 @@ static struct device_operations ide_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver ide_driver __pci_driver = { static const struct pci_driver ide_driver __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_IDE, .device = PCI_DEVICE_ID_INTEL_82801ER_IDE,

View file

@ -385,7 +385,7 @@ static struct device_operations lpc_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver lpc_driver __pci_driver = { static const struct pci_driver lpc_driver __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_ISA, .device = PCI_DEVICE_ID_INTEL_82801ER_ISA,

View file

@ -37,7 +37,7 @@ static struct device_operations pci_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_PCI, .device = PCI_DEVICE_ID_INTEL_82801ER_PCI,

View file

@ -49,13 +49,13 @@ static struct device_operations sata_ops = {
.ops_pci = 0, .ops_pci = 0,
}; };
static struct pci_driver sata_driver __pci_driver = { static const struct pci_driver sata_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R, .device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R,
}; };
static struct pci_driver sata_driver_nr __pci_driver = { static const struct pci_driver sata_driver_nr __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2, .device = PCI_DEVICE_ID_INTEL_82801ER_1F2,

View file

@ -37,7 +37,7 @@ static struct device_operations smbus_ops = {
.ops_smbus_bus = &lops_smbus_bus, .ops_smbus_bus = &lops_smbus_bus,
}; };
static struct pci_driver smbus_driver __pci_driver = { static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops, .ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_SMB, .device = PCI_DEVICE_ID_INTEL_82801ER_SMB,

View file

@ -36,19 +36,19 @@ static struct device_operations uhci_ops = {
.ops_pci = &lops_pci, .ops_pci = &lops_pci,
}; };
static struct pci_driver uhci_driver __pci_driver = { static const struct pci_driver uhci_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_USB, .device = PCI_DEVICE_ID_INTEL_82801ER_USB,
}; };
static struct pci_driver usb2_driver __pci_driver = { static const struct pci_driver usb2_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_USB2, .device = PCI_DEVICE_ID_INTEL_82801ER_USB2,
}; };
static struct pci_driver usb3_driver __pci_driver = { static const struct pci_driver usb3_driver __pci_driver = {
.ops = &uhci_ops, .ops = &uhci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82801ER_USB3, .device = PCI_DEVICE_ID_INTEL_82801ER_USB3,

View file

@ -35,78 +35,78 @@ static struct device_operations ac97_ops = {
}; };
/* 82801AA */ /* 82801AA */
static struct pci_driver i82801aa_ac97_audio __pci_driver = { static const struct pci_driver i82801aa_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2415, .device = 0x2415,
}; };
static struct pci_driver i82801aa_ac97_modem __pci_driver = { static const struct pci_driver i82801aa_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2416, .device = 0x2416,
}; };
/* 82801AB */ /* 82801AB */
static struct pci_driver i82801ab_ac97_audio __pci_driver = { static const struct pci_driver i82801ab_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2425, .device = 0x2425,
}; };
static struct pci_driver i82801ab_ac97_modem __pci_driver = { static const struct pci_driver i82801ab_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2426, .device = 0x2426,
}; };
/* 82801BA */ /* 82801BA */
static struct pci_driver i82801ba_ac97_audio __pci_driver = { static const struct pci_driver i82801ba_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2445, .device = 0x2445,
}; };
static struct pci_driver i82801ba_ac97_modem __pci_driver = { static const struct pci_driver i82801ba_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2446, .device = 0x2446,
}; };
/* 82801CA */ /* 82801CA */
static struct pci_driver i82801ca_ac97_audio __pci_driver = { static const struct pci_driver i82801ca_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2485, .device = 0x2485,
}; };
static struct pci_driver i82801ca_ac97_modem __pci_driver = { static const struct pci_driver i82801ca_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2486, .device = 0x2486,
}; };
/* 82801DB & 82801DBM */ /* 82801DB & 82801DBM */
static struct pci_driver i82801db_ac97_audio __pci_driver = { static const struct pci_driver i82801db_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24c5, .device = 0x24c5,
}; };
static struct pci_driver i82801db_ac97_modem __pci_driver = { static const struct pci_driver i82801db_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24c6, .device = 0x24c6,
}; };
/* 82801EB & 82801ER */ /* 82801EB & 82801ER */
static struct pci_driver i82801ex_ac97_audio __pci_driver = { static const struct pci_driver i82801ex_ac97_audio __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24d5, .device = 0x24d5,
}; };
static struct pci_driver i82801ex_ac97_modem __pci_driver = { static const struct pci_driver i82801ex_ac97_modem __pci_driver = {
.ops = &ac97_ops, .ops = &ac97_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24d6, .device = 0x24d6,

View file

@ -64,49 +64,49 @@ static struct device_operations ide_ops = {
}; };
/* 82801AA */ /* 82801AA */
static struct pci_driver i82801aa_ide __pci_driver = { static const struct pci_driver i82801aa_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2411, .device = 0x2411,
}; };
/* 82801AB */ /* 82801AB */
static struct pci_driver i82801ab_ide __pci_driver = { static const struct pci_driver i82801ab_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2421, .device = 0x2421,
}; };
/* 82801BA */ /* 82801BA */
static struct pci_driver i82801ba_ide __pci_driver = { static const struct pci_driver i82801ba_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x244b, .device = 0x244b,
}; };
/* 82801CA */ /* 82801CA */
static struct pci_driver i82801ca_ide __pci_driver = { static const struct pci_driver i82801ca_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x248b, .device = 0x248b,
}; };
/* 82801DB */ /* 82801DB */
static struct pci_driver i82801db_ide __pci_driver = { static const struct pci_driver i82801db_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24cb, .device = 0x24cb,
}; };
/* 82801DBM */ /* 82801DBM */
static struct pci_driver i82801dbm_ide __pci_driver = { static const struct pci_driver i82801dbm_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24ca, .device = 0x24ca,
}; };
/* 82801EB & 82801ER */ /* 82801EB & 82801ER */
static struct pci_driver i82801ex_ide __pci_driver = { static const struct pci_driver i82801ex_ide __pci_driver = {
.ops = &ide_ops, .ops = &ide_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24db, .device = 0x24db,

View file

@ -252,44 +252,44 @@ static struct device_operations lpc_ops = {
.enable = i82801xx_enable, .enable = i82801xx_enable,
}; };
static struct pci_driver i82801aa_lpc __pci_driver = { static const struct pci_driver i82801aa_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2410, .device = 0x2410,
}; };
static struct pci_driver i82801ab_lpc __pci_driver = { static const struct pci_driver i82801ab_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2420, .device = 0x2420,
}; };
static struct pci_driver i82801ba_lpc __pci_driver = { static const struct pci_driver i82801ba_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2440, .device = 0x2440,
}; };
static struct pci_driver i82801ca_lpc __pci_driver = { static const struct pci_driver i82801ca_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2480, .device = 0x2480,
}; };
static struct pci_driver i82801db_lpc __pci_driver = { static const struct pci_driver i82801db_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24c0, .device = 0x24c0,
}; };
static struct pci_driver i82801dbm_lpc __pci_driver = { static const struct pci_driver i82801dbm_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24cc, .device = 0x24cc,
}; };
/* 82801EB and 82801ER */ /* 82801EB and 82801ER */
static struct pci_driver i82801ex_lpc __pci_driver = { static const struct pci_driver i82801ex_lpc __pci_driver = {
.ops = &lpc_ops, .ops = &lpc_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24d0, .device = 0x24d0,

View file

@ -31,13 +31,13 @@ static struct device_operations nic_ops = {
.scan_bus = 0, .scan_bus = 0,
}; };
static struct pci_driver i82801dbm_nic __pci_driver = { static const struct pci_driver i82801dbm_nic __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x103a, .device = 0x103a,
}; };
static struct pci_driver i82801ex_nic __pci_driver = { static const struct pci_driver i82801ex_nic __pci_driver = {
.ops = &nic_ops, .ops = &nic_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x1051, .device = 0x1051,

View file

@ -47,26 +47,26 @@ static struct device_operations pci_ops = {
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
}; };
static struct pci_driver i82801aa_pci __pci_driver = { static const struct pci_driver i82801aa_pci __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2418, .device = 0x2418,
}; };
static struct pci_driver i82801ab_pci __pci_driver = { static const struct pci_driver i82801ab_pci __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2428, .device = 0x2428,
}; };
/* 82801BA, 82801CA, 82801DB, 82801EB, and 82801ER */ /* 82801BA, 82801CA, 82801DB, 82801EB, and 82801ER */
static struct pci_driver i82801misc_pci __pci_driver = { static const struct pci_driver i82801misc_pci __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x244e, .device = 0x244e,
}; };
static struct pci_driver i82801dbm_pci __pci_driver = { static const struct pci_driver i82801dbm_pci __pci_driver = {
.ops = &pci_ops, .ops = &pci_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x2448, .device = 0x2448,

View file

@ -69,14 +69,14 @@ static struct device_operations sata_ops = {
}; };
/* 82801EB */ /* 82801EB */
static struct pci_driver i82801eb_sata_driver __pci_driver = { static const struct pci_driver i82801eb_sata_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24d1, .device = 0x24d1,
}; };
/* 82801ER */ /* 82801ER */
static struct pci_driver i82801er_sata_driver __pci_driver = { static const struct pci_driver i82801er_sata_driver __pci_driver = {
.ops = &sata_ops, .ops = &sata_ops,
.vendor = PCI_VENDOR_ID_INTEL, .vendor = PCI_VENDOR_ID_INTEL,
.device = 0x24df, .device = 0x24df,

Some files were not shown because too many files have changed in this diff Show more