From patchwork Wed Mar 30 08:15:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 64641 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp2454974lbc; Wed, 30 Mar 2016 01:15:42 -0700 (PDT) X-Received: by 10.98.71.210 with SMTP id p79mr10879426pfi.4.1459325742334; Wed, 30 Mar 2016 01:15:42 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21si3133302pfi.38.2016.03.30.01.15.42; Wed, 30 Mar 2016 01:15:42 -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; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758636AbcC3IPk (ORCPT + 13 others); Wed, 30 Mar 2016 04:15:40 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33215 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754472AbcC3IPj (ORCPT ); Wed, 30 Mar 2016 04:15:39 -0400 Received: by mail-pf0-f177.google.com with SMTP id 4so36227408pfd.0 for ; Wed, 30 Mar 2016 01:15:39 -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=jFDaj2sKjnyWoFTKVIrPDJf0u60863W0iCLn0u45+Jm1qZBR3w34v5ECt6FflfkudT ZsfAR/wVd+sr83mjOBg9b0RNl3gE4q0jSaVMuoMFZP372J9iyYe2NMN0RfyoVkqCtLYL fC4A0Ym5z7csUYRuzwWyyLut1btCPTlTlaMrI= 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=flCiFinpcRuKcubi1h/grzu3NVagVQArvMuisjIpI5RamN1Gw47qxR3f2KewoJw3my jERiKPKktLN7xGNxcUWITW7y2ECbAjuDw9xS5V7kgVNvofmHz6DTO4GumgEhqiY0kX7g F+dBfcTnaiSQ6hK/SFuUgxSeFMfQG3f/geC4JntbWEg165KgXtcYnk18BcxWqQryVOV3 9YILKuFm6jQSxoKBFo+pFflfda+skrf/ZbOJp3ZdogtqX08ljanRytE/fLIjgdb7sMJf AjlMr5Vxe4RZilt51QXoe+e4LqDzOcXyCkzg1r4rCss6MlkVdsVxZc1uWABTidKHri+8 vPpA== X-Gm-Message-State: AD7BkJKaeZ3wjtTCs1M0BbxGmp9xH4D8FaqyHszspHsamOVdnWEHNEhSzsmLMWNqHm/U2P7V X-Received: by 10.98.14.2 with SMTP id w2mr10831460pfi.35.1459325738614; Wed, 30 Mar 2016 01:15:38 -0700 (PDT) Received: from localhost ([122.172.81.221]) by smtp.gmail.com with ESMTPSA id by3sm3669142pab.39.2016.03.30.01.15.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Mar 2016 01:15:38 -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 V3 1/4] cpufreq: dt: Include types.h from cpufreq-dt.h Date: Wed, 30 Mar 2016 13:45:25 +0530 Message-Id: <761afb1626b6e044bbddca711ba74900991b725f.1459325515.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-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