summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-06 19:27:53 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:23 +0800
commit4974a6ff048fecba6077bf3101c6aba830e038c7 (patch)
tree29f6d1e3e4a567f4db5a167a94d8690a733f9584 /drivers/pci
parent319dba1f4d7bf2c82be1c5b0858c4b1c3d8b4cfe (diff)
downloadblackbird-obmc-uboot-4974a6ff048fecba6077bf3101c6aba830e038c7.tar.gz
blackbird-obmc-uboot-4974a6ff048fecba6077bf3101c6aba830e038c7.zip
pci: Correct a few comments and nits
Two comments are missing a parameter and there is an extra blank line. Also two of the region access macros are misnamed. Correct these problems. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci-uclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index cb5101493b..c7fbf7bf66 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -289,7 +289,6 @@ int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value,
size);
}
-
int pci_write_config32(pci_dev_t bdf, int offset, u32 value)
{
return pci_write_config(bdf, offset, value, PCI_SIZE_32);
OpenPOWER on IntegriCloud