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

Commit afdb01d0 authored by Camus Wong's avatar Camus Wong
Browse files

drm/msm: Fix prototypes of the stub functions



Fix prototypes of the stub version of these functions
when QCOM_BUS_SCALING is not enabled
 sde_power_data_bus_parse
 sde_power_data_bus_unregister

Change-Id: I049e9da3e32902e23fcd1faca1693f18686914a5
Signed-off-by: default avatarCamus Wong <camusw@codeaurora.org>
parent 55cc722e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2018, 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
@@ -550,12 +550,13 @@ static int sde_power_reg_bus_update(u32 reg_bus_hdl, u32 usecase_ndx)
}
#else
static int sde_power_data_bus_parse(struct platform_device *pdev,
	struct sde_power_handle *phandle)
	struct sde_power_data_bus_handle *pdbus)
{
	return 0;
}

static void sde_power_data_bus_unregister(u32 reg_bus_hdl)
static void sde_power_data_bus_unregister(
		struct sde_power_data_bus_handle *pdbus)
{
}