aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 307d52d4ece8..b67ef5985125 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -52,7 +52,7 @@ module_param(reglog, bool, 0600);
52#define reglog 0 52#define reglog 0
53#endif 53#endif
54 54
55static char *vram; 55static char *vram = "16m";
56MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU"); 56MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU");
57module_param(vram, charp, 0); 57module_param(vram, charp, 0);
58 58
@@ -948,12 +948,11 @@ static int msm_pdev_probe(struct platform_device *pdev)
948 948
949 for (i = 0; i < ARRAY_SIZE(devnames); i++) { 949 for (i = 0; i < ARRAY_SIZE(devnames); i++) {
950 struct device *dev; 950 struct device *dev;
951 int ret;
952 951
953 dev = bus_find_device_by_name(&platform_bus_type, 952 dev = bus_find_device_by_name(&platform_bus_type,
954 NULL, devnames[i]); 953 NULL, devnames[i]);
955 if (!dev) { 954 if (!dev) {
956 dev_info(master, "still waiting for %s\n", devnames[i]); 955 dev_info(&pdev->dev, "still waiting for %s\n", devnames[i]);
957 return -EPROBE_DEFER; 956 return -EPROBE_DEFER;
958 } 957 }
959 958