From patchwork Thu Mar 24 06:40:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 64293 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp455558lbc; Wed, 23 Mar 2016 23:41:15 -0700 (PDT) X-Received: by 10.66.171.169 with SMTP id av9mr10279620pac.36.1458801675168; Wed, 23 Mar 2016 23:41:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u25si10000181pfa.228.2016.03.23.23.41.14; Wed, 23 Mar 2016 23:41:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751230AbcCXGlO (ORCPT + 13 others); Thu, 24 Mar 2016 02:41:14 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34298 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751005AbcCXGlN (ORCPT ); Thu, 24 Mar 2016 02:41:13 -0400 Received: by mail-pa0-f50.google.com with SMTP id fe3so14690072pab.1 for ; Wed, 23 Mar 2016 23:41:12 -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=c4V/xxK4qQOnWTvkfyJ5VB2eB4tji4s7UZNaY0tpfhvydQ/rrGJUGwJS5GUT2ZmViu 60yydjjz844ENiWWYLZzPxSvK18dxiCJwusOyIHwsdiPifuwHaqedJNK+LYDvMS3nBJQ fDffdfzfMDGbD2PIpSOtXSZzwE70hZs0bKLwY= 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=LTsIgYWUKgID1sSRQ0huipniMz78Er7cGHcxzOZNylvw6DJIiwUrv914TXs8mOSgqv 0ZqBGpQAYGLHPGy3o4yX8yec3Wro3lfEaYeNHNOWVcNIZKrR0/XhUb0UcWdJKZ229UiM FeqULMnAYH1k2HUAtNQbvrc1Mrb59VXkEPwTsF/Zd2blJwUqyd7Kxb8w3rxYxDYsSk8E Rp0ghMHGO+nGKzirgCSOdXrlxNquz2H9LxmJzg7RFfL5fyxUtNizj44FqauPdWFUDTVU PXoHNalBdPVt/stk1lpl3jz3uAxOwLuopEVTjpEy2g5nG0Ei+29WaHyj/1mnSCxoGP5p gvtw== X-Gm-Message-State: AD7BkJLED/EUWK/kl2WtCgaDijqUV89VLZHOe/N2D04HuQVL8fLrLcZ8xaWK9tGFfDmDsOMF X-Received: by 10.66.153.101 with SMTP id vf5mr9119157pab.131.1458801672490; Wed, 23 Mar 2016 23:41:12 -0700 (PDT) Received: from localhost ([122.172.61.242]) by smtp.gmail.com with ESMTPSA id 82sm8191622pfb.64.2016.03.23.23.41.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2016 23:41:11 -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, Viresh Kumar , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] cpufreq: dt: Include types.h from cpufreq-dt.h Date: Thu, 24 Mar 2016 12:10:28 +0530 Message-Id: X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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