mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
msm: msm_bus: Fix prototype of _update_bw()
_update_bw() has different prototypes when CONFIG_MSM_BUS_SCALING isn't defined. As a result when the latter config isn't defined, drivers using the API see compilation errors. Change-Id: Ia81484e246486b1797c82be4f897f9b168dfe64b Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
This commit is contained in:
parent
624873ee2c
commit
9a799f9e67
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -142,7 +142,7 @@ static inline void msm_bus_scale_unregister(struct msm_bus_client_handle *cl)
|
|||
}
|
||||
|
||||
static inline int
|
||||
msm_bus_scale_update_bw(uint32_t cl, u64 ab, u64 ib)
|
||||
msm_bus_scale_update_bw(struct msm_bus_client_handle *cl, u64 ab, u64 ib)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue