Author: stepan Date: 2007-10-24 11:08:58 +0200 (Wed, 24 Oct 2007) New Revision: 2891
Modified: trunk/LinuxBIOSv2/src/cpu/amd/sc520/sc520.c trunk/LinuxBIOSv2/src/drivers/ati/ragexl/xlinit.c trunk/LinuxBIOSv2/src/drivers/emulation/qemu/init.c trunk/LinuxBIOSv2/src/drivers/si/3114/si_sata.c trunk/LinuxBIOSv2/src/drivers/trident/blade3d/blade3d.c trunk/LinuxBIOSv2/src/mainboard/emulation/qemu-i386/mainboard.c trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/misc_control.c trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/northbridge.c trunk/LinuxBIOSv2/src/northbridge/amd/gx1/northbridge.c trunk/LinuxBIOSv2/src/northbridge/amd/gx2/northbridge.c trunk/LinuxBIOSv2/src/northbridge/amd/lx/northbridge.c trunk/LinuxBIOSv2/src/northbridge/intel/e7520/northbridge.c trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta.c trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta1.c trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portb.c trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portc.c trunk/LinuxBIOSv2/src/northbridge/intel/e7525/northbridge.c trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta.c trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta1.c trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portb.c trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portc.c trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/northbridge.c trunk/LinuxBIOSv2/src/northbridge/intel/i82810/northbridge.c trunk/LinuxBIOSv2/src/northbridge/via/vt8601/northbridge.c trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ac97.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_acpi.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ide.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_lpc.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_nic.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_pci.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_smbus.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb2.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8131-disable/amd8131_bridge.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8131/amd8131_bridge.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8132/amd8132_bridge.c trunk/LinuxBIOSv2/src/southbridge/amd/amd8151/amd8151_agp3.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_ide.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_isa.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_vga.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535_ide.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_ide.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_nic.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_ide.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sata.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_usb.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_bridge1c.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ehci.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pic.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_sata.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_smbus.c trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_uhci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_nic.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_usb.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ehci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_smbus.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_uhci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_nic.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_sata.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ehci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_sata.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_smbus.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_uhci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ac97.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ide.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_lpc.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_nic.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_pci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_sata.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_smbus.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb.c trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb_ehci.c trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_ioapic.c trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_pcibridge.c trunk/LinuxBIOSv2/src/southbridge/intel/pxhd/pxhd_bridge.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ac97.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ht.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ide.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_lpc.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_nic.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pci.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pcie.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_sata.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_smbus.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb.c trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb2.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_aza.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ht.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ide.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_lpc.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_nic.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pci.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pcie.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_sata.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_smbus.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb.c trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb2.c trunk/LinuxBIOSv2/src/southbridge/ricoh/rl5c476/rl5c476.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_ctrl.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_dram.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host_ctrl.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_pcie.c trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_traf_ctrl.c trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_acpi.c trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_lpc.c trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_nic.c trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_ide.c trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_lpc.c trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_nic.c trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_usb.c Log: 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
Modified: trunk/LinuxBIOSv2/src/cpu/amd/sc520/sc520.c =================================================================== --- trunk/LinuxBIOSv2/src/cpu/amd/sc520/sc520.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/cpu/amd/sc520/sc520.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -72,7 +72,7 @@ .ops_pci = 0, };
-static struct pci_driver cpu_driver __pci_driver = { +static const struct pci_driver cpu_driver __pci_driver = { .ops = &cpu_operations, .vendor = PCI_VENDOR_ID_AMD, .device = 0x3000
Modified: trunk/LinuxBIOSv2/src/drivers/ati/ragexl/xlinit.c =================================================================== --- trunk/LinuxBIOSv2/src/drivers/ati/ragexl/xlinit.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/drivers/ati/ragexl/xlinit.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -1499,7 +1499,7 @@ .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, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_215XL,
Modified: trunk/LinuxBIOSv2/src/drivers/emulation/qemu/init.c =================================================================== --- trunk/LinuxBIOSv2/src/drivers/emulation/qemu/init.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/drivers/emulation/qemu/init.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -81,7 +81,7 @@ .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, .vendor = 0x1234, .device = 0x1111,
Modified: trunk/LinuxBIOSv2/src/drivers/si/3114/si_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/drivers/si/3114/si_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/drivers/si/3114/si_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -59,7 +59,7 @@ .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, .vendor = 0x1095, .device = 0x3114,
Modified: trunk/LinuxBIOSv2/src/drivers/trident/blade3d/blade3d.c =================================================================== --- trunk/LinuxBIOSv2/src/drivers/trident/blade3d/blade3d.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/drivers/trident/blade3d/blade3d.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -1020,7 +1020,7 @@ .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, .vendor = 0x1023, .device = 0x9880,
Modified: trunk/LinuxBIOSv2/src/mainboard/emulation/qemu-i386/mainboard.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/emulation/qemu-i386/mainboard.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/mainboard/emulation/qemu-i386/mainboard.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -27,7 +27,7 @@ .ops_pci = 0, };
-static struct pci_driver vga_driver __pci_driver = { +static const struct pci_driver vga_driver __pci_driver = { .ops = &vga_operations, .vendor = 0x1013, .device = 0x00b8,
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/misc_control.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/misc_control.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/misc_control.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -224,7 +224,7 @@ .ops_pci = 0, };
-static struct pci_driver mcf3_driver __pci_driver = { +static const struct pci_driver mcf3_driver __pci_driver = { .ops = &mcf3_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x1103,
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/amd/amdk8/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -623,7 +623,7 @@ };
-static struct pci_driver mcf0_driver __pci_driver = { +static const struct pci_driver mcf0_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_AMD, .device = 0x1100,
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/gx1/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/amd/gx1/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/amd/gx1/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -59,7 +59,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_CYRIX, .device = PCI_DEVICE_ID_CYRIX_PCI_MASTER,
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/gx2/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/amd/gx2/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/amd/gx2/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -349,7 +349,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_NS, .device = PCI_DEVICE_ID_NS_GX2,
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/lx/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/amd/lx/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/amd/lx/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -225,7 +225,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_LXBRIDGE,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -229,7 +229,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x3590,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -53,7 +53,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PA,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta1.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta1.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_porta1.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portb.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -33,7 +33,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PB,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portc.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/pciexp_portc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PC,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -229,7 +229,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x359e,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PA,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta1.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta1.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_porta1.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portb.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PB,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portc.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/pciexp_portc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_PCIE_PC,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -25,7 +25,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x7190,
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/i82810/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/intel/i82810/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/intel/i82810/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -45,7 +45,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x7120,
Modified: trunk/LinuxBIOSv2/src/northbridge/via/vt8601/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/via/vt8601/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/via/vt8601/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_VIA, .device = 0x0601, /* 0x8601 is the AGP bridge? */
Modified: trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -81,7 +81,7 @@ .init = northbridge_init };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8623, @@ -109,7 +109,7 @@ .ops_pci = 0, };
-static struct pci_driver agp_driver __pci_driver = { +static const struct pci_driver agp_driver __pci_driver = { .ops = &agp_operations, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8633_1, @@ -200,7 +200,7 @@ .ops_pci = 0, };
-static struct pci_driver vga_driver __pci_driver = { +static const struct pci_driver vga_driver __pci_driver = { .ops = &vga_operations, .vendor = PCI_VENDOR_ID_VIA, .device = 0x3122,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -28,7 +28,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ac97audio_driver __pci_driver = { +static const struct pci_driver ac97audio_driver __pci_driver = { .ops = &ac97audio_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x746D, @@ -45,7 +45,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ac97modem_driver __pci_driver = { +static const struct pci_driver ac97modem_driver __pci_driver = { .ops = &ac97modem_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x746E,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_acpi.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_acpi.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_acpi.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -213,7 +213,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_ACPI,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -58,7 +58,7 @@ .ops_pci = &lops_pci };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -198,7 +198,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_ISA,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -82,7 +82,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_NIC,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -60,7 +60,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -34,7 +34,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_SMB,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -30,7 +30,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb_driver __pci_driver = { +static const struct pci_driver usb_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_USB,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb2.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb2.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8111/amd8111_usb2.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ // .ops_pci = &lops_pci, };
-static struct pci_driver usb2_driver __pci_driver = { +static const struct pci_driver usb2_driver __pci_driver = { .ops = &usb2_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_8111_USB2,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8131/amd8131_bridge.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8131/amd8131_bridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8131/amd8131_bridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -394,7 +394,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7450, @@ -427,7 +427,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7451,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8131-disable/amd8131_bridge.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8131-disable/amd8131_bridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8131-disable/amd8131_bridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -80,7 +80,7 @@ .enable = amd8131_enable, };
-static struct pci_driver pcix_driver __pci_driver = { +static const struct pci_driver pcix_driver __pci_driver = { .ops = &pcix_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7450, @@ -108,7 +108,7 @@ .enable = ioapic_enable, };
-static struct pci_driver ioapic_driver __pci_driver = { +static const struct pci_driver ioapic_driver __pci_driver = { .ops = &ioapic_ops, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7451,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8132/amd8132_bridge.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8132/amd8132_bridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8132/amd8132_bridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -380,7 +380,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7458, @@ -449,7 +449,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7459,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/amd8151/amd8151_agp3.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/amd8151/amd8151_agp3.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/amd8151/amd8151_agp3.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -29,7 +29,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7455, // AGP Bridge @@ -68,7 +68,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = 0x7454, //AGP Device
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -71,7 +71,7 @@ .ops_pci = 0, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_CYRIX, .device = PCI_DEVICE_ID_CYRIX_5530_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_isa.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_isa.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_isa.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -53,7 +53,7 @@ .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, .vendor = PCI_VENDOR_ID_CYRIX, .device = PCI_DEVICE_ID_CYRIX_5530_LEGACY,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_vga.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_vga.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5530/cs5530_vga.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -484,7 +484,7 @@ .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, .vendor = PCI_VENDOR_ID_CYRIX, .device = PCI_DEVICE_ID_CYRIX_5530_VIDEO,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -85,7 +85,7 @@ .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, .vendor = PCI_VENDOR_ID_NS, .device = PCI_DEVICE_ID_NS_CS5535
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5535/cs5535_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -23,7 +23,7 @@ .enable = ide_enable, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_NS, .device = PCI_DEVICE_ID_NS_CS5535_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -627,7 +627,7 @@ .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, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_CS5536_ISA
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -61,7 +61,7 @@ .enable = 0, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_CS5536_B0_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,12 +37,12 @@ .scan_bus = 0, .ops_pci = &lops_pci, }; -static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_BROADCOM, .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, .vendor = PCI_VENDOR_ID_BROADCOM, .device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC1,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@
};
-static struct pci_driver pcie_driver __pci_driver = { +static const struct pci_driver pcie_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PCIE,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -29,7 +29,7 @@
};
-static struct pci_driver ht_driver __pci_driver = { +static const struct pci_driver ht_driver __pci_driver = { .ops = &ht_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PXB,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -50,7 +50,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -129,7 +129,7 @@ // .enable = bcm5785_enable, .ops_pci = &lops_pci, }; -static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_LPC,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -87,7 +87,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver sata0_driver __pci_driver = { +static const struct pci_driver sata0_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SATA,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -145,7 +145,7 @@ .ops_pci = &lops_pci, .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, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SB_PCI_MAIN,
Modified: trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/broadcom/bcm5785/bcm5785_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -41,7 +41,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb_driver __pci_driver = { +static const struct pci_driver usb_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_USB,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -25,12 +25,12 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_MODEM,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_bridge1c.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_bridge1c.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_bridge1c.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -43,7 +43,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_BRIDGE1C,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ehci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ehci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ehci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -43,7 +43,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ehci_driver __pci_driver = { +static const struct pci_driver ehci_driver __pci_driver = { .ops = &ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_EHCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -48,7 +48,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -403,7 +403,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_ISA,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -29,7 +29,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_pic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -101,7 +101,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_PIC1,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -63,13 +63,13 @@ .ops_pci = &lops_pci, };
-static struct pci_driver sata_driver __pci_driver = { +static const struct pci_driver sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_R,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,7 +37,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_SMB,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_uhci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_uhci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/esb6300/esb6300_uhci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -36,19 +36,19 @@ .ops_pci = &lops_pci, };
-static struct pci_driver uhci_driver __pci_driver = { +static const struct pci_driver uhci_driver __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_6300ESB_USB3,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -69,7 +69,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82371AB_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82371AB_SMB,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -18,7 +18,7 @@ .scan_bus = 0, };
-static struct pci_driver ac97audio_driver __pci_driver = { +static const struct pci_driver ac97audio_driver __pci_driver = { .ops = &ac97audio_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_AC97_AUDIO, @@ -34,7 +34,7 @@ .scan_bus = 0, };
-static struct pci_driver ac97modem_driver __pci_driver = { +static const struct pci_driver ac97modem_driver __pci_driver = { .ops = &ac97modem_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_AC97_MODEM,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -41,7 +41,7 @@ .enable = i82801ca_enable, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -233,7 +233,7 @@ .enable = 0, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_LPC,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -14,7 +14,7 @@ .scan_bus = 0, };
-static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_LAN,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -22,7 +22,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801ca/i82801ca_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -31,17 +31,17 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801CA_USB3,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -43,12 +43,12 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_AC97_MODEM,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ehci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ehci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ehci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -61,7 +61,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ehci_driver __pci_driver = { +static const struct pci_driver ehci_driver __pci_driver = { .ops = &ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_EHCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -67,7 +67,7 @@ .scan_bus = 0, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -409,7 +409,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_ISA,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -55,7 +55,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -55,7 +55,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_SMB,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_uhci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_uhci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801db/i82801db_uhci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -54,19 +54,19 @@ .ops_pci = &lops_pci, };
-static struct pci_driver uhci_driver __pci_driver = { +static const struct pci_driver uhci_driver __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DB_USB2,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -18,7 +18,7 @@ .scan_bus = 0, };
-static struct pci_driver ac97audio_driver __pci_driver = { +static const struct pci_driver ac97audio_driver __pci_driver = { .ops = &ac97audio_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F5, @@ -34,7 +34,7 @@ .scan_bus = 0, };
-static struct pci_driver ac97modem_driver __pci_driver = { +static const struct pci_driver ac97modem_driver __pci_driver = { .ops = &ac97modem_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F6,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -45,7 +45,7 @@ .enable = i82801dbm_enable, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_1F1,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -208,7 +208,7 @@ .enable = i82801dbm_enable, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DBM_1F0,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -14,7 +14,7 @@ .scan_bus = 0, };
-static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x103a,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -25,7 +25,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801DBM_1E0,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -67,7 +67,7 @@ .enable = i82801dbm_enable, };
-static struct pci_driver stat_driver __pci_driver = { +static const struct pci_driver stat_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,22 +32,22 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_1D3,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801dbm/i82801dbm_usb2.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -33,7 +33,7 @@ .enable = i82801dbm_enable, };
-static struct pci_driver usb2_driver __pci_driver = { +static const struct pci_driver usb2_driver __pci_driver = { .ops = &usb2_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_1D7,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -25,12 +25,12 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_AC97_MODEM,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ehci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ehci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ehci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -43,7 +43,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ehci_driver __pci_driver = { +static const struct pci_driver ehci_driver __pci_driver = { .ops = &ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_EHCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -35,7 +35,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -385,7 +385,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_ISA,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,7 +37,7 @@ .ops_pci = 0, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -49,13 +49,13 @@ .ops_pci = 0, };
-static struct pci_driver sata_driver __pci_driver = { +static const struct pci_driver sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_1F2,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,7 +37,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_SMB,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_uhci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_uhci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801er/i82801er_uhci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -36,19 +36,19 @@ .ops_pci = &lops_pci, };
-static struct pci_driver uhci_driver __pci_driver = { +static const struct pci_driver uhci_driver __pci_driver = { .ops = &uhci_ops, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82801ER_USB3,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -35,78 +35,78 @@ };
/* 82801AA */ -static struct pci_driver i82801aa_ac97_audio __pci_driver = { +static const struct pci_driver i82801aa_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2415, };
-static struct pci_driver i82801aa_ac97_modem __pci_driver = { +static const struct pci_driver i82801aa_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2416, };
/* 82801AB */ -static struct pci_driver i82801ab_ac97_audio __pci_driver = { +static const struct pci_driver i82801ab_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2425, };
-static struct pci_driver i82801ab_ac97_modem __pci_driver = { +static const struct pci_driver i82801ab_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2426, };
/* 82801BA */ -static struct pci_driver i82801ba_ac97_audio __pci_driver = { +static const struct pci_driver i82801ba_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2445, };
-static struct pci_driver i82801ba_ac97_modem __pci_driver = { +static const struct pci_driver i82801ba_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2446, };
/* 82801CA */ -static struct pci_driver i82801ca_ac97_audio __pci_driver = { +static const struct pci_driver i82801ca_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2485, };
-static struct pci_driver i82801ca_ac97_modem __pci_driver = { +static const struct pci_driver i82801ca_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2486, };
/* 82801DB & 82801DBM */ -static struct pci_driver i82801db_ac97_audio __pci_driver = { +static const struct pci_driver i82801db_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c5, };
-static struct pci_driver i82801db_ac97_modem __pci_driver = { +static const struct pci_driver i82801db_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c6, };
/* 82801EB & 82801ER */ -static struct pci_driver i82801ex_ac97_audio __pci_driver = { +static const struct pci_driver i82801ex_ac97_audio __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d5, };
-static struct pci_driver i82801ex_ac97_modem __pci_driver = { +static const struct pci_driver i82801ex_ac97_modem __pci_driver = { .ops = &ac97_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d6,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -64,49 +64,49 @@ };
/* 82801AA */ -static struct pci_driver i82801aa_ide __pci_driver = { +static const struct pci_driver i82801aa_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2411, };
/* 82801AB */ -static struct pci_driver i82801ab_ide __pci_driver = { +static const struct pci_driver i82801ab_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2421, };
/* 82801BA */ -static struct pci_driver i82801ba_ide __pci_driver = { +static const struct pci_driver i82801ba_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x244b, };
/* 82801CA */ -static struct pci_driver i82801ca_ide __pci_driver = { +static const struct pci_driver i82801ca_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x248b, };
/* 82801DB */ -static struct pci_driver i82801db_ide __pci_driver = { +static const struct pci_driver i82801db_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24cb, };
/* 82801DBM */ -static struct pci_driver i82801dbm_ide __pci_driver = { +static const struct pci_driver i82801dbm_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24ca, };
/* 82801EB & 82801ER */ -static struct pci_driver i82801ex_ide __pci_driver = { +static const struct pci_driver i82801ex_ide __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24db,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -252,44 +252,44 @@ .enable = i82801xx_enable, };
-static struct pci_driver i82801aa_lpc __pci_driver = { +static const struct pci_driver i82801aa_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2410, };
-static struct pci_driver i82801ab_lpc __pci_driver = { +static const struct pci_driver i82801ab_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2420, };
-static struct pci_driver i82801ba_lpc __pci_driver = { +static const struct pci_driver i82801ba_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2440, };
-static struct pci_driver i82801ca_lpc __pci_driver = { +static const struct pci_driver i82801ca_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2480, };
-static struct pci_driver i82801db_lpc __pci_driver = { +static const struct pci_driver i82801db_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c0, };
-static struct pci_driver i82801dbm_lpc __pci_driver = { +static const struct pci_driver i82801dbm_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24cc, };
/* 82801EB and 82801ER */ -static struct pci_driver i82801ex_lpc __pci_driver = { +static const struct pci_driver i82801ex_lpc __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d0,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -31,13 +31,13 @@ .scan_bus = 0, };
-static struct pci_driver i82801dbm_nic __pci_driver = { +static const struct pci_driver i82801dbm_nic __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x103a, };
-static struct pci_driver i82801ex_nic __pci_driver = { +static const struct pci_driver i82801ex_nic __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x1051,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -47,26 +47,26 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2418, };
-static struct pci_driver i82801ab_pci __pci_driver = { +static const struct pci_driver i82801ab_pci __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2428, };
/* 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, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x244e, };
-static struct pci_driver i82801dbm_pci __pci_driver = { +static const struct pci_driver i82801dbm_pci __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2448,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -69,14 +69,14 @@ };
/* 82801EB */ -static struct pci_driver i82801eb_sata_driver __pci_driver = { +static const struct pci_driver i82801eb_sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d1, };
/* 82801ER */ -static struct pci_driver i82801er_sata_driver __pci_driver = { +static const struct pci_driver i82801er_sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24df,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -51,42 +51,42 @@ };
/* 82801AA */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2413, };
/* 82801AB */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2423, };
/* 82801BA */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2443, };
/* 82801CA */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2483, };
/* 82801DB and 82801DBM */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c3, };
/* 82801EB and 82801ER */ -static struct pci_driver smbus_driver __pci_driver = { +static const struct pci_driver smbus_driver __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d3,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -40,90 +40,90 @@ };
/* 82801AA */ -static struct pci_driver i82801aa_usb_1 __pci_driver = { +static const struct pci_driver i82801aa_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2412, };
/* 82801AB */ -static struct pci_driver i82801ab_usb_1 __pci_driver = { +static const struct pci_driver i82801ab_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2422, };
/* 82801BA */ -static struct pci_driver i82801ba_usb_1 __pci_driver = { +static const struct pci_driver i82801ba_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2442, };
-static struct pci_driver i82801ba_usb_2 __pci_driver = { +static const struct pci_driver i82801ba_usb_2 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2444, };
/* 82801CA */ -static struct pci_driver i82801ca_usb_1 __pci_driver = { +static const struct pci_driver i82801ca_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2482, };
-static struct pci_driver i82801ca_usb_2 __pci_driver = { +static const struct pci_driver i82801ca_usb_2 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2484, };
-static struct pci_driver i82801ca_usb_3 __pci_driver = { +static const struct pci_driver i82801ca_usb_3 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x2487, };
/* 82801DB and 82801DBM */ -static struct pci_driver i82801db_usb_1 __pci_driver = { +static const struct pci_driver i82801db_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c2, };
-static struct pci_driver i82801db_usb_2 __pci_driver = { +static const struct pci_driver i82801db_usb_2 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c4, };
-static struct pci_driver i82801db_usb_3 __pci_driver = { +static const struct pci_driver i82801db_usb_3 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24c7, };
/* 82801EB and 82801ER */ -static struct pci_driver i82801ex_usb_1 __pci_driver = { +static const struct pci_driver i82801ex_usb_1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d2, };
-static struct pci_driver i82801ex_usb_2 __pci_driver = { +static const struct pci_driver i82801ex_usb_2 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d4, };
-static struct pci_driver i82801ex_usb_3 __pci_driver = { +static const struct pci_driver i82801ex_usb_3 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24d7, };
-static struct pci_driver i82801ex_usb_4 __pci_driver = { +static const struct pci_driver i82801ex_usb_4 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24de,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb_ehci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb_ehci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82801xx/i82801xx_usb_ehci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -71,14 +71,14 @@ };
/* 82801DB and 82801DBM */ -static struct pci_driver i82801db_usb_ehci __pci_driver = { +static const struct pci_driver i82801db_usb_ehci __pci_driver = { .ops = &usb_ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24cd, };
/* 82801EB and 82801ER */ -static struct pci_driver i82801ex_usb_ehci __pci_driver = { +static const struct pci_driver i82801ex_usb_ehci __pci_driver = { .ops = &usb_ehci_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x24dd,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_ioapic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_ioapic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_ioapic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -90,7 +90,7 @@ .enable = p64h2_ioapic_enable, };
-static struct pci_driver ioapic_driver __pci_driver = { +static const struct pci_driver ioapic_driver __pci_driver = { .ops = &ioapic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82870_1E0,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_pcibridge.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_pcibridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/i82870/p64h2_pcibridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -32,7 +32,7 @@ .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, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_82870_1F0,
Modified: trunk/LinuxBIOSv2/src/southbridge/intel/pxhd/pxhd_bridge.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/intel/pxhd/pxhd_bridge.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/intel/pxhd/pxhd_bridge.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -147,13 +147,13 @@ .ops_pci = 0, };
-static struct pci_driver pcix_driver __pci_driver = { +static const struct pci_driver pcix_driver __pci_driver = { .ops = &pcix_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x0329, };
-static struct pci_driver pcix_driver2 __pci_driver = { +static const struct pci_driver pcix_driver2 __pci_driver = { .ops = &pcix_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x032a, @@ -238,14 +238,14 @@ .ops_pci = &intel_ops_pci, };
-static struct pci_driver ioapic_driver __pci_driver = { +static const struct pci_driver ioapic_driver __pci_driver = { .ops = &ioapic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x0326, };
-static struct pci_driver ioapic2_driver __pci_driver = { +static const struct pci_driver ioapic2_driver __pci_driver = { .ops = &ioapic_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x0327,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ac97.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ac97.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ac97.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -29,7 +29,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ac97audio_driver __pci_driver = { +static const struct pci_driver ac97audio_driver __pci_driver = { .ops = &ac97audio_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_ACI, @@ -46,7 +46,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ac97modem_driver __pci_driver = { +static const struct pci_driver ac97modem_driver __pci_driver = { .ops = &ac97modem_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_MCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ht.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ht.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ht.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -27,7 +27,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ht_driver __pci_driver = { +static const struct pci_driver ht_driver __pci_driver = { .ops = &ht_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_HT,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -70,7 +70,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -379,20 +379,20 @@ // .enable = ck804_enable, .ops_pci = &lops_pci, }; -static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_LPC, };
-static struct pci_driver lpc_driver_pro __pci_driver = { +static const struct pci_driver lpc_driver_pro __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_PRO, };
#if CK804_CHIP_REV == 1 -static struct pci_driver lpc_driver_slave __pci_driver = { +static const struct pci_driver lpc_driver_slave __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_SLAVE, @@ -407,7 +407,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver_slave __pci_driver = { +static const struct pci_driver lpc_driver_slave __pci_driver = { .ops = &lpc_slave_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_SLAVE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -121,12 +121,12 @@ // .enable = ck804_enable, .ops_pci = &lops_pci, }; -static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_NIC, }; -static struct pci_driver nic_bridge_driver __pci_driver = { +static const struct pci_driver nic_bridge_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_NIC_BRIDGE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -79,7 +79,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pcie.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pcie.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_pcie.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pcie_driver __pci_driver = { +static const struct pci_driver pcie_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_PCI_E,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -165,13 +165,13 @@ .ops_pci = &lops_pci, };
-static struct pci_driver sata0_driver __pci_driver = { +static const struct pci_driver sata0_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_SATA0, };
-static struct pci_driver sata1_driver __pci_driver = { +static const struct pci_driver sata1_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_SATA1,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -94,7 +94,7 @@ .ops_pci = &lops_pci, .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, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_SM,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -41,7 +41,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb_driver __pci_driver = { +static const struct pci_driver usb_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_USB,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb2.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb2.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_usb2.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,7 +37,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb2_driver __pci_driver = { +static const struct pci_driver usb2_driver __pci_driver = { .ops = &usb2_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_CK804_USB2,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_aza.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_aza.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_aza.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -259,7 +259,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver azaaudio_driver __pci_driver = { +static const struct pci_driver azaaudio_driver __pci_driver = { .ops = &aza_audio_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_AZA,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ht.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ht.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ht.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -46,7 +46,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ht_driver __pci_driver = { +static const struct pci_driver ht_driver __pci_driver = { .ops = &ht_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_HT,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -88,7 +88,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver ide_driver __pci_driver = { +static const struct pci_driver ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_IDE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -348,39 +348,39 @@ // .enable = mcp55_enable, .ops_pci = &lops_pci, }; -static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC, };
-static struct pci_driver lpc_driver_pro __pci_driver = { +static const struct pci_driver lpc_driver_pro __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PRO, };
-static struct pci_driver lpc_driver_lpc2 __pci_driver = { +static const struct pci_driver lpc_driver_lpc2 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC_2, }; -static struct pci_driver lpc_driver_lpc3 __pci_driver = { +static const struct pci_driver lpc_driver_lpc3 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC_3, }; -static struct pci_driver lpc_driver_lpc4 __pci_driver = { +static const struct pci_driver lpc_driver_lpc4 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC_4, }; -static struct pci_driver lpc_driver_lpc5 __pci_driver = { +static const struct pci_driver lpc_driver_lpc5 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC_5, }; -static struct pci_driver lpc_driver_lpc6 __pci_driver = { +static const struct pci_driver lpc_driver_lpc6 __pci_driver = { .ops = &lpc_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_LPC_6, @@ -395,7 +395,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver lpc_driver_slave __pci_driver = { +static const struct pci_driver lpc_driver_slave __pci_driver = { .ops = &lpc_slave_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_SLAVE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -199,12 +199,12 @@ // .enable = mcp55_enable, .ops_pci = &lops_pci, }; -static struct pci_driver nic_driver __pci_driver = { +static const struct pci_driver nic_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_NIC, }; -static struct pci_driver nic_bridge_driver __pci_driver = { +static const struct pci_driver nic_bridge_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_NIC_BRIDGE,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pci.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pci.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pci.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -99,7 +99,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pci_driver __pci_driver = { +static const struct pci_driver pci_driver __pci_driver = { .ops = &pci_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCI,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pcie.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pcie.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_pcie.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -56,27 +56,27 @@ .ops_pci = &lops_pci, };
-static struct pci_driver pciebc_driver __pci_driver = { +static const struct pci_driver pciebc_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_B_C, }; -static struct pci_driver pciee_driver __pci_driver = { +static const struct pci_driver pciee_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_E, }; -static struct pci_driver pciea_driver __pci_driver = { +static const struct pci_driver pciea_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_A, }; -static struct pci_driver pcief_driver __pci_driver = { +static const struct pci_driver pcief_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_F, }; -static struct pci_driver pcied_driver __pci_driver = { +static const struct pci_driver pcied_driver __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_PCIE_D,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_sata.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_sata.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_sata.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -88,13 +88,13 @@ .ops_pci = &lops_pci, };
-static struct pci_driver sata0_driver __pci_driver = { +static const struct pci_driver sata0_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_SATA0, };
-static struct pci_driver sata1_driver __pci_driver = { +static const struct pci_driver sata1_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_SATA1,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_smbus.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_smbus.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_smbus.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -144,7 +144,7 @@ .ops_pci = &lops_pci, .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, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_SM2,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -47,7 +47,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb_driver __pci_driver = { +static const struct pci_driver usb_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_USB,
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb2.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb2.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/mcp55/mcp55_usb2.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -83,7 +83,7 @@ .ops_pci = &lops_pci, };
-static struct pci_driver usb2_driver __pci_driver = { +static const struct pci_driver usb2_driver __pci_driver = { .ops = &usb2_ops, .vendor = PCI_VENDOR_ID_NVIDIA, .device = PCI_DEVICE_ID_NVIDIA_MCP55_USB2,
Modified: trunk/LinuxBIOSv2/src/southbridge/ricoh/rl5c476/rl5c476.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/ricoh/rl5c476/rl5c476.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/ricoh/rl5c476/rl5c476.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -197,7 +197,7 @@ .scan_bus = cardbus_scan_bridge, };
-static struct pci_driver ricoh_rl5c476_driver __pci_driver = { +static const struct pci_driver ricoh_rl5c476_driver __pci_driver = { .ops = &ricoh_rl5c476_ops, .vendor = PCI_VENDOR_ID_RICOH, .device = PCI_DEVICE_ID_RICOH_RL5C476,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_ctrl.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_ctrl.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_ctrl.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -95,7 +95,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &ctrl_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_7,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_dram.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_dram.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_dram.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -71,7 +71,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &dram_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_3,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &host_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_0,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host_ctrl.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host_ctrl.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_host_ctrl.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -86,7 +86,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &host_ctrl_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_2,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_pcie.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_pcie.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_pcie.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -133,31 +133,31 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &peg_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_PEG, };
-static struct pci_driver pcie_drvd3f0 __pci_driver = { +static const struct pci_driver pcie_drvd3f0 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_PEX0, };
-static struct pci_driver pcie_drvd3f1 __pci_driver = { +static const struct pci_driver pcie_drvd3f1 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_PEX1, };
-static struct pci_driver pcie_drvd3f2 __pci_driver = { +static const struct pci_driver pcie_drvd3f2 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_PEX2, };
-static struct pci_driver pcie_drvd3f3 __pci_driver = { +static const struct pci_driver pcie_drvd3f3 __pci_driver = { .ops = &pcie_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_PEX3,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_traf_ctrl.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_traf_ctrl.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/k8t890/k8t890_traf_ctrl.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -114,7 +114,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &traf_ctrl_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_K8T890CE_5,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_acpi.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_acpi.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_acpi.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -37,7 +37,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &acpi_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8231_4,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -107,7 +107,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_82C586_1,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -147,7 +147,7 @@ .ops_pci = 0, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &vt8231_lpc_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8231,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -30,7 +30,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8233_7,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_ide.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_ide.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_ide.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -107,7 +107,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_82C586_1,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_lpc.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_lpc.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_lpc.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -259,7 +259,7 @@ .scan_bus = scan_static_bus, };
-static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &vt8235_lpc_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8235,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_nic.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_nic.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_nic.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -30,7 +30,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &nic_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8233_7,
Modified: trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_usb.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_usb.c 2007-10-23 22:17:45 UTC (rev 2890) +++ trunk/LinuxBIOSv2/src/southbridge/via/vt8235/vt8235_usb.c 2007-10-24 09:08:58 UTC (rev 2891) @@ -38,7 +38,7 @@ .ops_pci = 0, };
-static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_82C586_2,