From afdb01d0f06918873490c89ea643743ff5aafc8e Mon Sep 17 00:00:00 2001 From: Camus Wong Date: Mon, 8 Jan 2018 15:45:16 -0500 Subject: [PATCH] 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: Camus Wong --- drivers/gpu/drm/msm/sde_power_handle.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/sde_power_handle.c b/drivers/gpu/drm/msm/sde_power_handle.c index ab65283ceafc..a26188f9e8e9 100644 --- a/drivers/gpu/drm/msm/sde_power_handle.c +++ b/drivers/gpu/drm/msm/sde_power_handle.c @@ -1,4 +1,4 @@ -/* 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) { }