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/southbridge/intel/i3100/i3100_smbus.c | |
parent | 859e94a30420c726a0043a00a73abb946cfb94c3 (diff) |
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/southbridge/intel/i3100/i3100_smbus.c')
-rw-r--r-- | src/southbridge/intel/i3100/i3100_smbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i3100/i3100_smbus.c b/src/southbridge/intel/i3100/i3100_smbus.c index 14853d56bf..f51363d92a 100644 --- a/src/southbridge/intel/i3100/i3100_smbus.c +++ b/src/southbridge/intel/i3100/i3100_smbus.c @@ -66,13 +66,13 @@ static struct device_operations smbus_ops = { .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_3100_SMB, }; -static struct pci_driver smbus_driver_ep80579 __pci_driver = { +static const struct pci_driver smbus_driver_ep80579 __pci_driver = { .ops = &smbus_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_INTEL_EP80579_SMB, |