diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-05-24 23:37:02 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-05-28 02:27:54 +0300 |
commit | 18c4342aa56d70176eea85021e6fe8f6f8f39c7b (patch) | |
tree | bbd138c03d8ca533fee4362b0325eb79340a92da /drivers/pinctrl | |
parent | 4785ffbdc9b52e308e43b9e2dcc1dca44f056d76 (diff) | |
download | linux-18c4342aa56d70176eea85021e6fe8f6f8f39c7b.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions