linux/drivers/gpu/drm/msm/mdp
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
..
mdp4 drm/msm: select REGULATOR 2014-11-16 14:22:42 -05:00
mdp5 drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
mdp_common.xml.h drm/msm: update generated headers 2014-08-04 11:55:28 -04:00
mdp_format.c drm/msm: mdp4_format -> mdp_format 2014-01-09 14:43:58 -05:00
mdp_kms.c drm/msm/mdp: add timeout for irq wait 2014-03-31 10:27:46 -04:00
mdp_kms.h drm/msm: move irq utils to mdp_kms 2014-01-09 14:44:05 -05:00