PCI: rcar: Register each instance independently
authorMagnus Damm <damm@opensource.se>
Tue, 18 Feb 2014 02:11:21 +0000 (11:11 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:13:22 +0000 (13:13 +0900)
commite386da085fe859438306523cf8be22c9519a818b
tree030c9072bb658a83fa2d65cf51eef241c73ca7ed
parent3bbee2f36d2e178c190f3125a1e0a65466f67ced
PCI: rcar: Register each instance independently

Convert the code to allow per-device probe() like other device drivers.
This also delays driver registration due to change from subsys_initcall()
to regular module_platform_driver().

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 546cadda3575153bdd0af4febfe958cc5945f95a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pci-rcar-gen2.c