summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-spear1340-miphy.c
diff options
context:
space:
mode:
authorRay Jui <ray.jui@broadcom.com>2016-10-18 03:41:41 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-10-31 21:25:15 +0100
commit091c531b09c151c2d712a8f347009ca3698a2467 (patch)
tree1d7819e32a4a52dcaa8585a200d0643205fed961 /drivers/phy/phy-spear1340-miphy.c
parentLinux 4.9-rc3 (diff)
downloadlinux-091c531b09c151c2d712a8f347009ca3698a2467.tar.xz
linux-091c531b09c151c2d712a8f347009ca3698a2467.zip
pinctrl: iproc: Fix iProc and NSP GPIO support
Since commit 44a7185c2ae6 ("of/platform: Add common method to populate default bus"), ARM64 platform devices are populated at the arch_initcall_sync level; as a result, the platform_driver_probe calls in both the iProc and NSP GPIO drivers fail with -ENODEV since by that time the platform device was not yet registered. Replace platform_driver_probe with platform_driver_register, that allow the device to be register later Fixes: 44a7185c2ae6 ("of/platform: Add common method to populate default bus") Signed-off-by: Ray Jui <ray.jui@broadcom.com> Tested-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/phy/phy-spear1340-miphy.c')
0 files changed, 0 insertions, 0 deletions