From patchwork Fri Oct 26 04:30:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1649851 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C10E040135 for ; Fri, 26 Oct 2012 04:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153Ab2JZEaK (ORCPT ); Fri, 26 Oct 2012 00:30:10 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:10145 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752707Ab2JZEaJ (ORCPT ); Fri, 26 Oct 2012 00:30:09 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MCH00HV1GGDZW70@mailout3.samsung.com>; Fri, 26 Oct 2012 13:30:07 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-79-508a11cf7376 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E6.30.01231.FC11A805; Fri, 26 Oct 2012 13:30:07 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MCH00LYWGI7EE80@mmp1.samsung.com>; Fri, 26 Oct 2012 13:30:07 +0900 (KST) From: Jingoo Han To: "'Rafael J. Wysocki'" Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, 'Daniel Lezcano' , 'Jingoo Han' Subject: [PATCH] cpuidle: add missing header include Date: Fri, 26 Oct 2012 13:30:07 +0900 Message-id: <001401cdb332$93ffe450$bbffacf0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac2zMpPiNhRK9FVBTSyL2exRwpsmxA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t9jAd3zgl0BBtPfm1pc3jWHzeJz7xFG ByaPz5vkAhijuGxSUnMyy1KL9O0SuDKOH5vBXrCTp2Lda+kGxstcXYwcHBICJhJf/rJ1MXIC mWISF+6tB7OFBBYxSuxeJ9fFyAVk/2KU2PTiFjtIgk1ATeLLl8NgtoiAmcSHzqXMIEXMAhMY Je4dmA2WEAYaunzfU1aQBSwCqhI/v3iAhHkFbCXa3rUxQ9iCEj8m32MBsZkFtCTW7zzOBGHL S2xe85YZ4jZ1iUd/dSFW6UkcObuJGaJERGLfi3eMExgFZiGZNAvJpFlIJs1C0rKAkWUVo2hq QXJBcVJ6rqFecWJucWleul5yfu4mRnBwPpPawbiyweIQowAHoxIPb0RKZ4AQa2JZcWXuIUYJ DmYlEd7dU4FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeZs9UgKEBNITS1KzU1MLUotgskwcnFIN jFFzhPzXzf36et4Ku1lqv+ZzXM38ZWYko9CXe+fLRYmzQdc3lG/dJhqw692KT6Va+eHXlGR4 D+dVX4stOx7K+6Vt+YmKkEMv/z8oCVDedDdw973XF84s0FwvIF+qcezHsslZ3QpJoTtkLs6Z 2DnnpbdMyvKDTl8myq2yfv1lkW17+iNGlUWTf+sqsRRnJBpqMRcVJwIAQxdRlEoCAAA= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds missing device.h header to fix build warnings as below: drivers/cpuidle/cpuidle.h:26:41: warning: 'struct device' declared inside parameter list [enabled by default] drivers/cpuidle/cpuidle.h:26:41: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] drivers/cpuidle/cpuidle.h:27:45: warning: 'struct device' declared inside parameter list [enabled by default] In file included from drivers/cpuidle/driver.c:15:0: drivers/cpuidle/cpuidle.h:26:41: warning: 'struct device' declared inside parameter list [enabled by default] drivers/cpuidle/cpuidle.h:26:41: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] drivers/cpuidle/cpuidle.h:27:45: warning: 'struct device' declared inside parameter list [enabled by default] This build warning is introduced by commit efeca1b "cpuidle / sysfs: change function parameter". Signed-off-by: Jingoo Han Cc: Daniel Lezcano --- drivers/cpuidle/cpuidle.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/cpuidle/cpuidle.h b/drivers/cpuidle/cpuidle.h index a5bbd1c..2120d9e 100644 --- a/drivers/cpuidle/cpuidle.h +++ b/drivers/cpuidle/cpuidle.h @@ -5,6 +5,8 @@ #ifndef __DRIVER_CPUIDLE_H #define __DRIVER_CPUIDLE_H +#include + /* For internal use only */ extern struct cpuidle_governor *cpuidle_curr_governor; extern struct list_head cpuidle_governors;