From 93e1459641e758d2b096d3f1b39414a39bb314f8 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 4 Oct 2013 17:43:24 +0200 Subject: Coding Style cleanup: replace leading SPACEs by TABs Signed-off-by: Wolfgang Denk [trini: Drop changes for PEP 4 following python tools] Signed-off-by: Tom Rini --- board/esd/cpci750/ide.c | 2 +- board/esd/cpci750/pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'board/esd/cpci750') diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c index 5f306855acb..f555c08427a 100644 --- a/board/esd/cpci750/ide.c +++ b/board/esd/cpci750/ide.c @@ -43,7 +43,7 @@ int ide_preinit (void) if (devbusfn != -1) { cpci_hd_type = 1; } else { - devbusfn = pci_find_device (0x1095, 0x3114, 0); + devbusfn = pci_find_device (0x1095, 0x3114, 0); if (devbusfn != -1) { cpci_hd_type = 2; } diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index c9b3ac2a4f3..59f170a0df7 100644 --- a/board/esd/cpci750/pci.c +++ b/board/esd/cpci750/pci.c @@ -746,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose, int bus = PCI_BUS (dev); if ((bus == local_buses[0]) || (bus == local_buses[1])) { - *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr, + *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr, offset | (PCI_FUNC(dev) << 8), PCI_DEV (dev)); } else { -- cgit v1.2.3