Commit 18c4342a authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Bjorn Helgaas
Browse files

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: default avatarRay Jui <rjui@broadcom.com>
Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarRay Jui <rjui@broadcom.com>
parent 4785ffbd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment