Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756345Ab3EOGmx (ORCPT ); Wed, 15 May 2013 02:42:53 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:63004 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754581Ab3EOGmv (ORCPT ); Wed, 15 May 2013 02:42:51 -0400 Date: Tue, 14 May 2013 23:42:48 -0700 From: Dmitry Torokhov To: Simon Glass Cc: Geert Uytterhoeven , Samuel Ortiz , "linux-input@vger.kernel.org" , lk Subject: Re: [PATCH] input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP Message-ID: <20130515064248.GB24297@core.coreip.homeip.net> References: <1368049529-8168-1-git-send-email-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Content-Length: 946 Lines: 27 On Wed, May 08, 2013 at 09:25:56PM -0600, Simon Glass wrote: > On Wed, May 8, 2013 at 3:45 PM, Geert Uytterhoeven wrote: > > If CONFIG_PM_SLEEP is not set: > > > > drivers/input/keyboard/cros_ec_keyb.c:211: warning: ‘cros_ec_keyb_clear_keyboard’ defined but not used > > > > Move the definition of cros_ec_keyb_clear_keyboard() inside the section > > protected by #ifdef CONFIG_PM_SLEEP to fix this. > > > > Signed-off-by: Geert Uytterhoeven > > Acked-by: Simon Glass Acked-by: Dmitry Torokhov Could you please forward this to Linus as I do not have this driver in my branch yet. Thanks. -- Dmitry -- 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/