From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933221AbXH0Vdm (ORCPT ); Mon, 27 Aug 2007 17:33:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755407AbXH0V2R (ORCPT ); Mon, 27 Aug 2007 17:28:17 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:58820 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1764868AbXH0V2N (ORCPT ); Mon, 27 Aug 2007 17:28:13 -0400 Date: Mon, 27 Aug 2007 23:28:12 +0200 From: Adrian Bunk To: Andrew Morton Cc: dmitry.torokhov@gmail.com, linux-input@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org Subject: [2.6 patch] make the dummy touchkit_ps2_detect() static Message-ID: <20070827212812.GU4121@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The dummy touchkit_ps2_detect() for the CONFIG_MOUSE_PS2_TOUCHKIT=n case shouldn't be a global function. Signed-off-by: Adrian Bunk --- This patch has been sent on: - 14 Aug 2007 --- a/drivers/input/mouse/touchkit_ps2.h +++ b/drivers/input/mouse/touchkit_ps2.h @@ -15,7 +15,8 @@ #ifdef CONFIG_MOUSE_PS2_TOUCHKIT int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); #else -inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties) +static inline int touchkit_ps2_detect(struct psmouse *psmouse, + int set_properties) { return -ENOSYS; }