From patchwork Sun Mar 12 18:56:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9619507 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56B7D60417 for ; Sun, 12 Mar 2017 18:56:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B20928484 for ; Sun, 12 Mar 2017 18:56:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EF4728487; Sun, 12 Mar 2017 18:56:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6644028484 for ; Sun, 12 Mar 2017 18:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934658AbdCLS4X (ORCPT ); Sun, 12 Mar 2017 14:56:23 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:35480 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934579AbdCLS4W (ORCPT ); Sun, 12 Mar 2017 14:56:22 -0400 Received: by mail-wr0-f178.google.com with SMTP id g10so91767117wrg.2 for ; Sun, 12 Mar 2017 11:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=TV34ItwNpwI1v7SKUaG+t4MMUjwTcaLl277302LvB20=; b=gvA8Hs+xAZD7aSJTRuZNITBc8fbz1tyeOUUiFn6U+8ZqqwRWWvUPkf4ZIweSOZaFlm sq7/cP2lI4i2ImuLC2zKvxwLxqwhbJVWCZ0g4IP0FdQjpwCjywOlpybtiJ5qyjMdbG0o xP2rBU2jXCh3b3/Tq/CANMqqx64jtGFqIdztygvp1PjVLze6v/WsQrO1FaXvsNZSbZ25 4b1B0+Ib7cDss5RDqO0tPt+CLVBmsmBX2/79M8cXH6SyfhGnieKVBAsk/DUpZo9HXzO3 lBF1ZDT8yCJ149U3if1IhZDqOyWDz9AXT76YGdDG94o5YEx/pUhgYXuw5a3cpiS4rjd8 YY1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TV34ItwNpwI1v7SKUaG+t4MMUjwTcaLl277302LvB20=; b=G9GQrsbFu5ebGowURzq/OmDwIhoi+99ZtABvZjpW1/KHP4DPCvzySMijWdhkmJfH40 /ivKjk+zus4PnF6jUYfw8Yi3JHqLyocF+a8SHs+iTQ24HOpyr90hH9vcxFxnvWbW30KN ku8OSzQojQ5Rkb/l+oFBowSgXg7AbGNyfBR7koTQQAV6kJdTJEh8FdknDjijfLlMvCY5 cMEw3yiz6e1oNgJHSTHg0RngRqi7rwv9Q2W5xm4gZTCeV6D/wbmvTENtxaZmmUz6PmP4 WzB2bcqDJrNSAcvlMYAzDbsLmIWDFkttjSb1gGOu9uojUqwB8twO6Mos30HzBu1CpI71 wVGQ== X-Gm-Message-State: AMke39k7W7FybwIgsma+9wVn9RXDUzUf3IY4/9Fg1CsuHF7n0EKZQvn19Vv2P//iWsiuV89h X-Received: by 10.223.138.250 with SMTP id z55mr26910676wrz.130.1489344980201; Sun, 12 Mar 2017 11:56:20 -0700 (PDT) Received: from bgdev-debian.lan (jua06-1-82-242-157-225.fbx.proxad.net. [82.242.157.225]) by smtp.gmail.com with ESMTPSA id h3sm22039253wrb.6.2017.03.12.11.56.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Mar 2017 11:56:19 -0700 (PDT) From: Bartosz Golaszewski To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH] hid: cp2112: select GPIOLIB_IRQCHIP instead of depending on it Date: Sun, 12 Mar 2017 19:56:08 +0100 Message-Id: <1489344968-12813-1-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP GPIOLIB_IRQCHIP is not visible to user, so we can't depend on it. Depend on GPIOLIB but select GPIOLIB_IRQCHIP. Signed-off-by: Bartosz Golaszewski Acked-by: Benjamin Tissoires --- drivers/hid/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1aeb80e..00e2809 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -214,7 +214,8 @@ config HID_CMEDIA config HID_CP2112 tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" - depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP + depends on USB_HID && I2C && GPIOLIB + select GPIOLIB_IRQCHIP ---help--- Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge. This is a HID device driver which registers as an i2c adapter