From 0c9455284df0f8c379f4b12f79444eaaed8aebc0 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 30 Aug 2007 10:25:43 +0000 Subject: [PATCH] This switches the only remaining non-userspace code from uint*_t to u*. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@486 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/pci_ops_mmconf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/pci_ops_mmconf.c b/arch/x86/pci_ops_mmconf.c index 6846192abf..de2313e396 100644 --- a/arch/x86/pci_ops_mmconf.c +++ b/arch/x86/pci_ops_mmconf.c @@ -18,32 +18,32 @@ #include -static uint8_t pci_mmconf_read_config8(struct bus *pbus, int bus, int devfn, int where) +static u8 pci_mmconf_read_config8(struct bus *pbus, int bus, int devfn, int where) { return (read8x(PCI_MMIO_ADDR(bus, devfn, where))); } -static uint16_t pci_mmconf_read_config16(struct bus *pbus, int bus, int devfn, int where) +static u16 pci_mmconf_read_config16(struct bus *pbus, int bus, int devfn, int where) { return (read16x(PCI_MMIO_ADDR(bus, devfn, where))); } -static uint32_t pci_mmconf_read_config32(struct bus *pbus, int bus, int devfn, int where) +static u32 pci_mmconf_read_config32(struct bus *pbus, int bus, int devfn, int where) { return (read32x(PCI_MMIO_ADDR(bus, devfn, where))); } -static void pci_mmconf_write_config8(struct bus *pbus, int bus, int devfn, int where, uint8_t value) +static void pci_mmconf_write_config8(struct bus *pbus, int bus, int devfn, int where, u8 value) { write8x(PCI_MMIO_ADDR(bus, devfn, where), value); } -static void pci_mmconf_write_config16(struct bus *pbus, int bus, int devfn, int where, uint16_t value) +static void pci_mmconf_write_config16(struct bus *pbus, int bus, int devfn, int where, u16 value) { write8x(PCI_MMIO_ADDR(bus, devfn, where), value); } -static void pci_mmconf_write_config32(struct bus *pbus, int bus, int devfn, int where, uint32_t value) +static void pci_mmconf_write_config32(struct bus *pbus, int bus, int devfn, int where, u32 value) { write8x(PCI_MMIO_ADDR(bus, devfn, where), value); }