From 2305364397f9d4b4722e594069d4e2960cc35911 Mon Sep 17 00:00:00 2001 From: "arch import user (historical)" Date: Wed, 6 Jul 2005 16:49:59 +0000 Subject: Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-10 Creator: Yinghai Lu pci_rom.h smbus device parent device print git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/drivers/generic/debug/debug_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/generic/debug') diff --git a/src/drivers/generic/debug/debug_dev.c b/src/drivers/generic/debug/debug_dev.c index 8454051602..600b1fcf60 100644 --- a/src/drivers/generic/debug/debug_dev.c +++ b/src/drivers/generic/debug/debug_dev.c @@ -35,9 +35,9 @@ static void print_mem(void) static void print_pci_regs_all(void) { struct device *dev; - unsigned char bus, device, function; + unsigned bus, device, function; - for(bus=0; bus<=256; bus++) { + for(bus=0; bus<256; bus++) { for(device=0; device<=0x1f; device++) { for (function=0; function<=7; function++){ unsigned devfn; -- cgit v1.2.3