Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754665AbZGUCXw (ORCPT ); Mon, 20 Jul 2009 22:23:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753400AbZGUCXv (ORCPT ); Mon, 20 Jul 2009 22:23:51 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:55046 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752937AbZGUCXv (ORCPT ); Mon, 20 Jul 2009 22:23:51 -0400 From: Subrata Modak To: Pau Oliva Fora , linux-input@vger.kernel.org Cc: Sachin P Sant , David Howells , Subrata Modak , Balbir Singh , LKML Date: Tue, 21 Jul 2009 07:53:44 +0530 Message-Id: <20090721022344.30853.25784.sendpatchset@subratamodak.linux.ibm.com> Subject: [PATCH 04/06][RESEND] Fix compilation warning for drivers/input/touchscreen/htcpen.c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1093 Lines: 33 gcc 4.4.1 generates the following build warning on i386: CC drivers/input/touchscreen/htcpen.o drivers/input/touchscreen/htcpen.c:50: warning: 'pnp_ids' defined but not used Fix this by removing the static keyword when you are actually exporting that structure. This patch was earlier posted on 14th July 2009: http://lkml.org/lkml/2009/7/14/362, Signed-off-by: Subrata Modak --- --- a/drivers/input/touchscreen/htcpen.c 2009-05-20 10:40:54.000000000 +0530 +++ b/drivers/input/touchscreen/htcpen.c 2009-07-15 06:15:34.000000000 +0530 @@ -47,7 +47,7 @@ static int invert_y; module_param(invert_y, bool, 0644); MODULE_PARM_DESC(invert_y, "If set, Y axis is inverted"); -static struct pnp_device_id pnp_ids[] = { +struct pnp_device_id pnp_ids[] = { { .id = "PNP0cc0" }, { .id = "" } }; --- Regards-- Subrata -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/