summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/amd8111/reset.c')
-rw-r--r--src/southbridge/amd/amd8111/reset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/amd8111/reset.c b/src/southbridge/amd/amd8111/reset.c
index f4907c53da..b175be2727 100644
--- a/src/southbridge/amd/amd8111/reset.c
+++ b/src/southbridge/amd/amd8111/reset.c
@@ -21,7 +21,7 @@
#define PCI_DEV_INVALID (0xffffffffU)
-static pci_devfn_t pci_io_locate_device_on_bus(unsigned pci_id, unsigned bus)
+static pci_devfn_t pci_io_locate_device_on_bus(unsigned int pci_id, unsigned int bus)
{
pci_devfn_t dev, last;
dev = PCI_DEV(bus, 0, 0);
@@ -41,9 +41,9 @@ static pci_devfn_t pci_io_locate_device_on_bus(unsigned pci_id, unsigned bus)
void do_board_reset(void)
{
pci_devfn_t dev;
- unsigned bus;
- unsigned node = 0;
- unsigned link = get_sblk();
+ unsigned int bus;
+ unsigned int node = 0;
+ unsigned int link = get_sblk();
/* Find the device.
* There can only be one 8111 on a hypertransport chain/bus.