From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752900AbbJFVac (ORCPT ); Tue, 6 Oct 2015 17:30:32 -0400 Received: from mga01.intel.com ([192.55.52.88]:37768 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752577AbbJFVaa (ORCPT ); Tue, 6 Oct 2015 17:30:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,645,1437462000"; d="scan'208";a="805085910" Date: Wed, 7 Oct 2015 05:29:32 +0800 From: kbuild test robot To: Laura Abbott Cc: kbuild-all@01.org, Rob Herring , Frank Rowand , Sumit Semwal , Andrew Andrianov , arve@android.com, Riley Andrews , Laura Abbott , John Stultz , Grant Likely , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Gall , Colin Cross , devel@driverdev.osuosl.org, Greg Kroah-Hartman , romlem@google.com, mitchelh@codeaurora.org, linux-arm-kernel@lists.infradead.org, Feng Tang , Marek Szyprowski 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-Type: text/plain; charset=us-ascii 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) {