]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
PCI: rcar: Register each instance independently
authorMagnus Damm <damm@opensource.se>
Tue, 18 Feb 2014 02:11:21 +0000 (11:11 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Feb 2014 20:20:11 +0000 (13:20 -0700)
commit546cadda3575153bdd0af4febfe958cc5945f95a
tree1763ec3a9bf606599935076da836d0a5177dbef2
parente64a2a973e179613489a0ddb1bb550dff108164e
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>
drivers/pci/host/pci-rcar-gen2.c