diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-16 23:33:29 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-16 23:33:29 +0000 |
commit | 8e96ba2978b622bb605caaeb07600c45516651c2 (patch) | |
tree | ab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/northbridge/via/vx800 | |
parent | 859e94a30420c726a0043a00a73abb946cfb94c3 (diff) | |
download | coreboot-8e96ba2978b622bb605caaeb07600c45516651c2.tar.xz |
pci drivers should be const.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via/vx800')
-rw-r--r-- | src/northbridge/via/vx800/vx800_ide.c | 2 | ||||
-rw-r--r-- | src/northbridge/via/vx800/vx800_lpc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/via/vx800/vx800_ide.c b/src/northbridge/via/vx800/vx800_ide.c index f53f4ab551..673d6152ad 100644 --- a/src/northbridge/via/vx800/vx800_ide.c +++ b/src/northbridge/via/vx800/vx800_ide.c @@ -261,7 +261,7 @@ static struct device_operations ide_ops = { .ops_pci = 0, }; -static struct pci_driver via_ide_driver __pci_driver = { +static const struct pci_driver via_ide_driver __pci_driver = { .ops = &ide_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_VX855_IDE, diff --git a/src/northbridge/via/vx800/vx800_lpc.c b/src/northbridge/via/vx800/vx800_lpc.c index 2cd3202ad6..2a4550ab45 100644 --- a/src/northbridge/via/vx800/vx800_lpc.c +++ b/src/northbridge/via/vx800/vx800_lpc.c @@ -380,7 +380,7 @@ static struct device_operations vx800_lpc_ops = { .scan_bus = scan_static_bus, }; -static struct pci_driver lpc_driver __pci_driver = { +static const struct pci_driver lpc_driver __pci_driver = { .ops = &vx800_lpc_ops, .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_VX855_LPC, |