From 9f9601aeb6cdbd750c098cd9aa13b9c820594055 Mon Sep 17 00:00:00 2001 From: Naveen Yadav Date: Fri, 10 Jan 2020 15:12:10 +0530 Subject: [PATCH] cpufreq: qcom-cpufreq-hw: Initialize the data type for offsets to u16 Update data type of offsets used to u16. Change-Id: Ia931979edfe0f4e9f5b3aea1eb8a3e26e5760a6d Signed-off-by: Naveen Yadav --- drivers/cpufreq/qcom-cpufreq-hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index 8de072fdeda3..5d20f53068f5 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #include @@ -37,7 +37,7 @@ enum { }; static unsigned long cpu_hw_rate, xo_rate; -static const size_t *offsets; +static const u16 *offsets; static unsigned int lut_row_size = LUT_ROW_SIZE; static bool accumulative_counter;