mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
msm: kgsl: Set busmon driver data
This links the busmon devfreq device to kgsl device which is de-referenced in kgsl_busmon_target() in order to propagate bus votes. Change-Id: I1ac3f81e546e3fd6be6051a202e0d49db07978ee Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This commit is contained in:
parent
4310e6ac82
commit
5d8bb9574f
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/devfreq_cooling.h>
|
||||
|
|
@ -685,6 +685,7 @@ static void pwrscale_busmon_create(struct kgsl_device *device,
|
|||
dev->parent = &pdev->dev;
|
||||
|
||||
dev_set_name(dev, "kgsl-busmon");
|
||||
dev_set_drvdata(dev, device);
|
||||
if (device_register(dev))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue