From patchwork Tue Oct 6 21:29:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7340171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 99E57BEEA4 for ; Tue, 6 Oct 2015 21:32:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2D0820627 for ; Tue, 6 Oct 2015 21:32:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ECB1120626 for ; Tue, 6 Oct 2015 21:32:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZjZoz-0001MR-9c; Tue, 06 Oct 2015 21:30:53 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZjZow-0001G7-RU for linux-arm-kernel@lists.infradead.org; Tue, 06 Oct 2015 21:30:51 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 06 Oct 2015 14:30:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,645,1437462000"; d="scan'208";a="805085910" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 06 Oct 2015 14:30:26 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZjZoL-0006QD-OM; Wed, 07 Oct 2015 05:30:13 +0800 Date: Wed, 7 Oct 2015 05:29:32 +0800 From: kbuild test robot To: Laura Abbott Subject: [RFC PATCH] staging: ion: ion_parse_dt_heap_common() can be static Message-ID: <20151006212932.GA59274@xian> References: <201510070535.v0amqMb0%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1444164433-9107-3-git-send-email-labbott@fedoraproject.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151006_143050_923159_A5A81C8D X-CRM114-Status: GOOD ( 12.55 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, mitchelh@codeaurora.org, Andrew Andrianov , Tom Gall , romlem@google.com, Greg Kroah-Hartman , Riley Andrews , Colin Cross , linux-kernel@vger.kernel.org, arve@android.com, Rob Herring , John Stultz , kbuild-all@01.org, Feng Tang , Grant Likely , Laura Abbott , Frank Rowand , Sumit Semwal , linux-arm-kernel@lists.infradead.org, Marek Szyprowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- ion_of.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c index 3c9b1e5..daded0c 100644 --- a/drivers/staging/android/ion/ion_of.c +++ b/drivers/staging/android/ion/ion_of.c @@ -28,7 +28,7 @@ * Future work: allow callback function for each heap? */ -int ion_parse_dt_heap_common(struct device_node *heap_node, +static int ion_parse_dt_heap_common(struct device_node *heap_node, struct ion_platform_heap *heap) { u32 ion_heap_id, ion_heap_align, ion_heap_type; @@ -67,7 +67,7 @@ int ion_parse_dt_heap_common(struct device_node *heap_node, return 0; } -int ion_setup_heap_common(struct platform_device *parent, +static int ion_setup_heap_common(struct platform_device *parent, struct device_node *heap_node, struct ion_platform_heap *heap) {