mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drm/msm: fix compile error for non-dt builds
Signed-off-by: Rob Clark <[email protected]>
This commit is contained in:
parent
119ecb7fd3
commit
12313c2aa8
1 changed files with 1 additions and 2 deletions
|
|
@ -974,12 +974,11 @@ static int msm_pdev_probe(struct platform_device *pdev)
|
|||
|
||||
for (i = 0; i < ARRAY_SIZE(devnames); i++) {
|
||||
struct device *dev;
|
||||
int ret;
|
||||
|
||||
dev = bus_find_device_by_name(&platform_bus_type,
|
||||
NULL, devnames[i]);
|
||||
if (!dev) {
|
||||
dev_info(master, "still waiting for %s\n", devnames[i]);
|
||||
dev_info(&pdev->dev, "still waiting for %s\n", devnames[i]);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue