Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752653AbdCMJsi (ORCPT ); Mon, 13 Mar 2017 05:48:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbdCMJsa (ORCPT ); Mon, 13 Mar 2017 05:48:30 -0400 Date: Mon, 13 Mar 2017 10:48:19 +0100 From: Benjamin Tissoires To: Bartosz Golaszewski Cc: Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hid: cp2112: select GPIOLIB_IRQCHIP instead of depending on it Message-ID: <20170313094819.GD4378@mail.corp.redhat.com> References: <1489344968-12813-1-git-send-email-bgolaszewski@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1489344968-12813-1-git-send-email-bgolaszewski@baylibre.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 13 Mar 2017 09:48:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 32 On Mar 12 2017 or thereabouts, Bartosz Golaszewski wrote: > 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 > --- Makes sense. Good catch 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 > -- > 2.9.3 >