From patchwork Mon May 13 21:43:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Nicoletti X-Patchwork-Id: 2560881 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C1F10DF2E5 for ; Mon, 13 May 2013 21:43:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755092Ab3EMVns (ORCPT ); Mon, 13 May 2013 17:43:48 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:33929 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753966Ab3EMVnr (ORCPT ); Mon, 13 May 2013 17:43:47 -0400 Received: by mail-wi0-f169.google.com with SMTP id hn14so1128799wib.0 for ; Mon, 13 May 2013 14:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=UhapuvCf1rl3D00G13eeKb1GNUx6T/jq95eBs0AxthA=; b=DPcw6Zexuxg2lvlP+ymRC6Q3YjR08HVD5WxZGby2PLARDBlxNc/bdKREMFk1DhAH5X UmfAdeD4joOZwR2fb54owLc1BnueKrqvBFZgFXUvvusc0gqIWfMW/VDxGDJRRa0iVl6x +JS9NGnwxgX5L0zB782jf8gLnm9FnqOCCQ7cGs1KkUYVioTr4ic1OfxT54sMsTo49LGB gSEqR/+WQE7KhTD9HPRLk5T6ETE22Qs6DG5NdjFC/rt4SWvmZGORsfDGAw46q5e7Jm3o bEvGVwB9NdfKZuPNsCHZMd21OPnKn4RQ010wuF0QrFR6n99SJcRNjjjZPsGbQCutCUsd /hhg== MIME-Version: 1.0 X-Received: by 10.180.210.242 with SMTP id mx18mr234785wic.14.1368481426367; Mon, 13 May 2013 14:43:46 -0700 (PDT) Received: by 10.194.26.162 with HTTP; Mon, 13 May 2013 14:43:46 -0700 (PDT) Date: Mon, 13 May 2013 18:43:46 -0300 Message-ID: Subject: PATCH change for HID_BATTERY_STRENGTH kconfig From: Daniel Nicoletti To: linux-input@vger.kernel.org, Jiri Kosina Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi, I'd like to propose this patch while removes the need for hid to be compiled build-in, as this is the same behavior that WiiMote and Wacom have. Is this ok? Signed-off-by: line? --- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index fb52f3f..d6d85ad 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -27,7 +27,8 @@ if HID config HID_BATTERY_STRENGTH bool "Battery level reporting for HID devices" - depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY + depends on HID + select POWER_SUPPLY default n ---help--- This option adds support of reporting battery strength (for HID devices