From patchwork Wed Oct 16 07:40:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 3051071 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 584779F2B7 for ; Wed, 16 Oct 2013 07:43:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5731C20318 for ; Wed, 16 Oct 2013 07:43:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DF4120237 for ; Wed, 16 Oct 2013 07:43:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760160Ab3JPHnN (ORCPT ); Wed, 16 Oct 2013 03:43:13 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:43969 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753674Ab3JPHkT (ORCPT ); Wed, 16 Oct 2013 03:40:19 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 73BFA13EE07; Wed, 16 Oct 2013 07:40:18 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 63CA013F2A2; Wed, 16 Oct 2013 07:40:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from sboyd-linux.qualcomm.com (i-global252.qualcomm.com [199.106.103.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B02B413EE07; Wed, 16 Oct 2013 07:40:17 +0000 (UTC) From: Stephen Boyd To: Mike Turquette Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Saravana Kannan , Philipp Zabel Subject: [PATCH v3 02/12] reset: Silence warning in reset-controller.h Date: Wed, 16 Oct 2013 00:40:04 -0700 Message-Id: <1381909214-12693-3-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 1.8.4.1.503.g2b7ca91 In-Reply-To: <1381909214-12693-1-git-send-email-sboyd@codeaurora.org> References: <1381909214-12693-1-git-send-email-sboyd@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If a user of doesn't include before including reset-controller.h they'll get a warning as follows: include/linux/reset-controller.h:44:17: warning: 'struct of_phandle_args' declared inside parameter list This is because of_phandle_args is not forward declared. Add the declaration to silence this warning. Cc: Philipp Zabel Signed-off-by: Stephen Boyd --- include/linux/reset-controller.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h index 2f61311..41a4695 100644 --- a/include/linux/reset-controller.h +++ b/include/linux/reset-controller.h @@ -21,6 +21,7 @@ struct reset_control_ops { struct module; struct device_node; +struct of_phandle_args; /** * struct reset_controller_dev - reset controller entity that might