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/amd/sb600/sb600_usb.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/amd/sb600/sb600_usb.c')
-rw-r--r-- | src/southbridge/amd/sb600/sb600_usb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/amd/sb600/sb600_usb.c b/src/southbridge/amd/sb600/sb600_usb.c index 4be2d73272..7d1410f3d6 100644 --- a/src/southbridge/amd/sb600/sb600_usb.c +++ b/src/southbridge/amd/sb600/sb600_usb.c @@ -159,27 +159,27 @@ static struct device_operations usb_ops = { .ops_pci = &lops_pci, }; -static struct pci_driver usb_0_driver __pci_driver = { +static const struct pci_driver usb_0_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB_0, }; -static struct pci_driver usb_1_driver __pci_driver = { +static const struct pci_driver usb_1_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB_1, }; -static struct pci_driver usb_2_driver __pci_driver = { +static const struct pci_driver usb_2_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB_2, }; -static struct pci_driver usb_3_driver __pci_driver = { +static const struct pci_driver usb_3_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB_3, }; -static struct pci_driver usb_4_driver __pci_driver = { +static const struct pci_driver usb_4_driver __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB_4, @@ -195,7 +195,7 @@ static struct device_operations usb_ops2 = { .ops_pci = &lops_pci, }; -static struct pci_driver usb_5_driver __pci_driver = { +static const struct pci_driver usb_5_driver __pci_driver = { .ops = &usb_ops2, .vendor = PCI_VENDOR_ID_ATI, .device = PCI_DEVICE_ID_ATI_SB600_USB2, |