diff options
author | Wolfgang Denk <wd@denx.de> | 2013-10-04 17:43:24 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-14 16:06:54 -0400 |
commit | 93e1459641e758d2b096d3f1b39414a39bb314f8 (patch) | |
tree | 3780156a164d3924a2412354872203e4b46f8592 /board/esd/cpci750 | |
parent | 3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7 (diff) | |
download | u-boot-imx-93e1459641e758d2b096d3f1b39414a39bb314f8.zip u-boot-imx-93e1459641e758d2b096d3f1b39414a39bb314f8.tar.gz u-boot-imx-93e1459641e758d2b096d3f1b39414a39bb314f8.tar.bz2 |
Coding Style cleanup: replace leading SPACEs by TABs
Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/esd/cpci750')
-rw-r--r-- | board/esd/cpci750/ide.c | 2 | ||||
-rw-r--r-- | board/esd/cpci750/pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c index 5f30685..f555c08 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 c9b3ac2..59f170a 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 { |