Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/msm
Rob Clark b7bbd6406a drm/msm: select REGULATOR
Fixes a potential error, spotted by Felipe with randconfig:

-----
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c: In function ‘mdp4_kms_init’:
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c:384:2: error: implicit declaration \
        of function ‘devm_regulator_get_exclusive’ [-Werror=implicit-function-declaration]
  mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd");
  ^
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c:384:16: error: assignment makes \
        pointer from integer without a cast [-Werror]
  mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd");
                ^
-----

Also add a brief comment explaining the use of _get_exclusive()

Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-11-16 14:22:42 -05:00
..
2014-09-10 11:19:05 -04:00
2014-11-16 14:22:42 -05:00
2014-11-16 14:22:42 -05:00
2014-01-09 14:44:04 -05:00
2014-06-02 07:36:11 -04:00
2014-01-09 14:44:06 -05:00
2014-08-04 11:55:29 -04:00
2014-06-02 07:36:21 -04:00
2014-06-02 07:36:11 -04:00
2013-08-24 14:57:18 -04:00
2013-08-24 14:57:18 -04:00
2014-01-09 14:44:06 -05:00