summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gpu.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-06-04 10:26:37 -0400
committerRob Clark <robdclark@gmail.com>2015-06-11 13:11:01 -0400
commit6490ad47404539b479ca33f96793c4624bef2924 (patch)
treead83d20f75724c2ba3eaf202e7b67eb3220016ae /drivers/gpu/drm/msm/msm_gpu.c
parent570655b09b065d2fff1b8ab9bdb8308f4c5a05a3 (diff)
downloadop-kernel-dev-6490ad47404539b479ca33f96793c4624bef2924.zip
op-kernel-dev-6490ad47404539b479ca33f96793c4624bef2924.tar.gz
drm/msm: clarify downstream bus scaling
A few spots in the driver have support for downstream android CONFIG_MSM_BUS_SCALING. This is mainly to simplify backporting the driver for various devices which do not have sufficient upstream kernel support. But the intentionally dead code seems to cause some confusion. Rename the #define to make this more clear. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r--drivers/gpu/drm/msm/msm_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c
index 4a0dce5..98977ab1 100644
--- a/drivers/gpu/drm/msm/msm_gpu.c
+++ b/drivers/gpu/drm/msm/msm_gpu.c
@@ -24,7 +24,7 @@
* Power Management:
*/
-#ifdef CONFIG_MSM_BUS_SCALING
+#ifdef DOWNSTREAM_CONFIG_MSM_BUS_SCALING
#include <mach/board.h>
static void bs_init(struct msm_gpu *gpu)
{
OpenPOWER on IntegriCloud