projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f833e79
)
pci: Properly configure prefetchable memory region
author
Thierry Reding
<thierry.reding@gmail.com>
Fri, 20 Sep 2013 13:50:50 +0000
(15:50 +0200)
committer
Tom Rini
<trini@ti.com>
Mon, 7 Oct 2013 12:21:23 +0000
(08:21 -0400)
Forcibly set hose->pci_prefetch to NULL to make sure it will be setup.
This will help if for any reason callers didn't make sure themselves to
NULL the field.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/pci/pci_auto.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci_auto.c
b/drivers/pci/pci_auto.c
index c4ed8ba6c3157fe9646c98a1a5896a39f2137e6e..86ba6b523c11da2f7eb5ed47fe31b7798d1f59d1 100644
(file)
--- a/
drivers/pci/pci_auto.c
+++ b/
drivers/pci/pci_auto.c
@@
-297,7
+297,7
@@
void pciauto_config_init(struct pci_controller *hose)
{
int i;
- hose->pci_io = hose->pci_mem = NULL;
+ hose->pci_io = hose->pci_mem =
hose->pci_prefetch =
NULL;
for (i = 0; i < hose->region_count; i++) {
switch(hose->regions[i].flags) {