Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2052334 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian Committed by Matt Wagantall
Browse files

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: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 0b51ea39
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* 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;
}