diff options
author | jmallett <jmallett@FreeBSD.org> | 2009-06-12 22:49:35 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2009-06-12 22:49:35 +0000 |
commit | 5bdd7657ce0d480a4c52f7095b82096c4e6758c1 (patch) | |
tree | de24906e0c6bf0e772299fefd693b32a1682df79 /sys/mips/malta | |
parent | 66c6fddb347e7353152d95d23bfa956880501fd0 (diff) | |
download | FreeBSD-src-5bdd7657ce0d480a4c52f7095b82096c4e6758c1.zip FreeBSD-src-5bdd7657ce0d480a4c52f7095b82096c4e6758c1.tar.gz |
Fix MALTA build; some prototypes were wrong and blew up when kobj method
signature checking was turned on.
Diffstat (limited to 'sys/mips/malta')
-rw-r--r-- | sys/mips/malta/gt_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/malta/gt_pci.c b/sys/mips/malta/gt_pci.c index e8f7ffd..f0180f6 100644 --- a/sys/mips/malta/gt_pci.c +++ b/sys/mips/malta/gt_pci.c @@ -370,7 +370,7 @@ gt_pci_conf_setup(struct gt_pci_softc *sc, int bus, int slot, int func, } static uint32_t -gt_pci_read_config(device_t dev, int bus, int slot, int func, int reg, +gt_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) { struct gt_pci_softc *sc = device_get_softc(dev); @@ -440,7 +440,7 @@ gt_pci_read_config(device_t dev, int bus, int slot, int func, int reg, } static void -gt_pci_write_config(device_t dev, int bus, int slot, int func, int reg, +gt_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) { struct gt_pci_softc *sc = device_get_softc(dev); |