From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938694AbcIERdz (ORCPT ); Mon, 5 Sep 2016 13:33:55 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:33160 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935612AbcIERdu (ORCPT ); Mon, 5 Sep 2016 13:33:50 -0400 Date: Mon, 5 Sep 2016 10:33:46 -0700 From: Dmitry Torokhov To: Arnd Bergmann Cc: Baoyou Xie , pali.rohar@gmail.com, hdegoede@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, xie.baoyou@zte.com.cn Subject: Re: [PATCH] Input: focaltech - mark focaltech_set_resolution() static Message-ID: <20160905173346.GB12404@dtor-ws> References: <1472632661-32159-1-git-send-email-baoyou.xie@linaro.org> <5089277.G6NWohFGP5@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5089277.G6NWohFGP5@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 31, 2016 at 11:58:50AM +0200, Arnd Bergmann wrote: > On Wednesday, August 31, 2016 4:37:41 PM CEST Baoyou Xie wrote: > > We get 1 warning when building kernel with W=1: > > drivers/input/mouse/focaltech.c:393:6: warning: no previous prototype for 'focaltech_set_resolution' [-Wmissing-prototypes] > > > > In fact, this function is only used in the file in which it is > > declared and don't need a declaration, but can be made static. > > So this patch marks it 'static'. > > > > Signed-off-by: Baoyou Xie > > > > Acked-by: Arnd Bergmann Applied, thank you. -- Dmitry