commit | 18c4342aa56d70176eea85021e6fe8f6f8f39c7b | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Sun May 24 22:37:02 2015 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed May 27 18:27:54 2015 -0500 |
tree | bbd138c03d8ca533fee4362b0325eb79340a92da | |
parent | 4785ffbdc9b52e308e43b9e2dcc1dca44f056d76 [diff] |
PCI: iproc: Directly add PCI resources The struct iproc_pcie.resources member was pointing to a stack variable and is invalid after the registration function returned. Remove this pointer and add a parameter to the function. Tested-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Ray Jui <rjui@broadcom.com>