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:
Deva Ramasubramanian 2015-03-17 16:25:16 -07:00 committed by Gerrit - the friendly Code Review server
parent 624873ee2c
commit 9a799f9e67

View file

@ -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;
}