aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-16 23:33:29 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-16 23:33:29 +0000
commit8e96ba2978b622bb605caaeb07600c45516651c2 (patch)
treeab2c348deb5ba5518812cf46e67d0cac90dd4a44 /src/southbridge/amd/sb700
parent859e94a30420c726a0043a00a73abb946cfb94c3 (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/sb700')
-rw-r--r--src/southbridge/amd/sb700/sb700_hda.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_ide.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_lpc.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_pci.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_sata.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_sm.c2
-rw-r--r--src/southbridge/amd/sb700/sb700_usb.c14
7 files changed, 13 insertions, 13 deletions
diff --git a/src/southbridge/amd/sb700/sb700_hda.c b/src/southbridge/amd/sb700/sb700_hda.c
index edff6022dc..12839a6a4b 100644
--- a/src/southbridge/amd/sb700/sb700_hda.c
+++ b/src/southbridge/amd/sb700/sb700_hda.c
@@ -225,7 +225,7 @@ static struct device_operations hda_audio_ops = {
.ops_pci = &lops_pci,
};
-static struct pci_driver hdaaudio_driver __pci_driver = {
+static const struct pci_driver hdaaudio_driver __pci_driver = {
.ops = &hda_audio_ops,
.vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_HDA,
diff --git a/src/southbridge/amd/sb700/sb700_ide.c b/src/southbridge/amd/sb700/sb700_ide.c
index 39bd48cfb3..d56362b03e 100644
--- a/src/southbridge/amd/sb700/sb700_ide.c
+++ b/src/southbridge/amd/sb700/sb700_ide.c
@@ -76,7 +76,7 @@ static struct device_operations ide_ops = {
.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_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_IDE,
diff --git a/src/southbridge/amd/sb700/sb700_lpc.c b/src/southbridge/amd/sb700/sb700_lpc.c
index 63560404da..b6d7818160 100644
--- a/src/southbridge/amd/sb700/sb700_lpc.c
+++ b/src/southbridge/amd/sb700/sb700_lpc.c
@@ -240,7 +240,7 @@ static struct device_operations lpc_ops = {
.scan_bus = scan_static_bus,
.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_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_LPC,
diff --git a/src/southbridge/amd/sb700/sb700_pci.c b/src/southbridge/amd/sb700/sb700_pci.c
index 0c1300c5e4..d1e9851b9d 100644
--- a/src/southbridge/amd/sb700/sb700_pci.c
+++ b/src/southbridge/amd/sb700/sb700_pci.c
@@ -121,7 +121,7 @@ static struct device_operations pci_ops = {
.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_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_PCI,
diff --git a/src/southbridge/amd/sb700/sb700_sata.c b/src/southbridge/amd/sb700/sb700_sata.c
index 6e9c49696b..cd5084e745 100644
--- a/src/southbridge/amd/sb700/sb700_sata.c
+++ b/src/southbridge/amd/sb700/sb700_sata.c
@@ -284,7 +284,7 @@ static struct device_operations sata_ops = {
.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_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_SATA,
diff --git a/src/southbridge/amd/sb700/sb700_sm.c b/src/southbridge/amd/sb700/sb700_sm.c
index 27891dee19..dbd7a6ab02 100644
--- a/src/southbridge/amd/sb700/sb700_sm.c
+++ b/src/southbridge/amd/sb700/sb700_sm.c
@@ -374,7 +374,7 @@ static struct device_operations smbus_ops = {
.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_ATI,
.device = PCI_DEVICE_ID_ATI_SB700_SM,
diff --git a/src/southbridge/amd/sb700/sb700_usb.c b/src/southbridge/amd/sb700/sb700_usb.c
index d9e0dc0bcd..b567fd5e5c 100644
--- a/src/southbridge/amd/sb700/sb700_usb.c
+++ b/src/southbridge/amd/sb700/sb700_usb.c
@@ -200,12 +200,12 @@ 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_SB700_USB_18_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_SB700_USB_18_1,
@@ -213,19 +213,19 @@ static struct pci_driver usb_1_driver __pci_driver = {
/* the pci id of usb ctrl 0 and 1 are the same. */
/*
- * 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_SB700_USB_19_0,
* };
- * 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_SB700_USB_19_1,
* };
*/
-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_SB700_USB_20_5,
@@ -240,13 +240,13 @@ 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_SB700_USB_18_2,
};
/*
- * 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_SB700_USB_19_2,