From patchwork Tue Mar 29 06:39:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 64565 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1835256lbc; Mon, 28 Mar 2016 23:40:07 -0700 (PDT) X-Received: by 10.98.79.205 with SMTP id f74mr914274pfj.68.1459233607606; Mon, 28 Mar 2016 23:40:07 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd7si4219013pab.90.2016.03.28.23.40.07; Mon, 28 Mar 2016 23:40:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbcC2GkE (ORCPT + 29 others); Tue, 29 Mar 2016 02:40:04 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35206 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbcC2GkB (ORCPT ); Tue, 29 Mar 2016 02:40:01 -0400 Received: by mail-pf0-f169.google.com with SMTP id n5so7185476pfn.2 for ; Mon, 28 Mar 2016 23:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=I5Db/wjf18L2eAnLxwi8oNzmDLAKusClHRZ9XgrQzGM=; b=ZJ452WK6//Q6HvKdx/L1lZRAv1eDEjxuP5GNqZugNNN1q1ignrph/84Pf+5x4zDXxK zHHX6HFojTFjBLEHkGp4PTA1GfePSqKbv8e9991/Z2/XIhnXcfWV+CCwS9Bhrb0pwzGx FrzWJrpSdWlOK9AfTZ1vcn131j02JZ4U3T6UA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=I5Db/wjf18L2eAnLxwi8oNzmDLAKusClHRZ9XgrQzGM=; b=Vkewz+g9CtRAntwmxhcOIeuYsoCcAgNkjilxD1X47KJYzN6gU7/frCZdMW76VG3U8m 6lStqNR2xCjd1n/obpKPBMrvMxbXPTDj9vmPr/NXcNNWOpSdHc8YkTeJD+MRtJaVk93B vV0v6iGvGDBLtghz13MqARjzHC7aO4a8/18x+aAw/FVSHVo6dkVJVsuartByod+Z3QJt 6HK/bqpTm4p0FwDrK3DGr+qy6ghWxWm3BtrHpQWYkchqB358HNWpLdMymFkUY58vWSTH cxTHGszjaMIBTFZQfMOa5uhFz+k1NUad7qXEUXqzXx7YdhrNBHj+MMnDZN3PLzWegi51 iODg== X-Gm-Message-State: AD7BkJIZyTlKOQBuBwrxrrBFCvQ0NPakZJVbkaI0f8UWfzrmuFFGoI29tWZnCkthjpQmcOJu X-Received: by 10.98.72.149 with SMTP id q21mr893008pfi.148.1459233600301; Mon, 28 Mar 2016 23:40:00 -0700 (PDT) Received: from localhost ([122.167.169.132]) by smtp.gmail.com with ESMTPSA id wh9sm40208945pab.8.2016.03.28.23.39.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Mar 2016 23:39:59 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , arnd.bergmann@linaro.org Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, kgene.kim@samsung.com, xf@rock-chips.com, heiko@sntech.de, mmcclint@codeaurora.org, k.kozlowski@samsung.com, Viresh Kumar , linux-kernel@vger.kernel.org Subject: [PATCH V1 Resend 1/3] cpufreq: dt: Include types.h from cpufreq-dt.h Date: Tue, 29 Mar 2016 12:09:47 +0530 Message-Id: <754ba649ec35503ed958132884c4991de6e6861b.1459233524.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cpufreq-dt.h uses 'bool' data type but doesn't include types.h. It works fine for now as the files that include cpufreq-dt.h, also include types.h directly or indirectly. But, when a file includes cpufreq-dt.h without including types.h, we get a build error. Avoid such errors by including types.h in cpufreq-dt itself. Signed-off-by: Viresh Kumar --- include/linux/cpufreq-dt.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.1.410.g6faf27b diff --git a/include/linux/cpufreq-dt.h b/include/linux/cpufreq-dt.h index 0414009e2c30..a87335a1660c 100644 --- a/include/linux/cpufreq-dt.h +++ b/include/linux/cpufreq-dt.h @@ -10,6 +10,8 @@ #ifndef __CPUFREQ_DT_H__ #define __CPUFREQ_DT_H__ +#include + struct cpufreq_dt_platform_data { /* * True when each CPU has its own clock to control its