From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] staging: ion: ion_parse_dt_heap_common() can be static Date: Wed, 7 Oct 2015 05:29:32 +0800 Message-ID: <20151006212932.GA59274@xian> References: <201510070535.v0amqMb0%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1444164433-9107-3-git-send-email-labbott-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laura Abbott Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org, Rob Herring , Frank Rowand , Sumit Semwal , Andrew Andrianov , arve-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org, Riley Andrews , Laura Abbott , John Stultz , Grant Likely , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tom Gall , Colin Cross , devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b@public.gmane.org, Greg Kroah-Hartman , romlem-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, mitchelh-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Feng Tang , Marek Szyprowski List-Id: devicetree@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) { -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html