Message ID | 20201116104242.19907-3-brgl@bgdev.pl |
---|---|
State | New |
Headers | show
Return-Path: <linux-gpio-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04F3FC5519F for <linux-gpio@archiver.kernel.org>; Mon, 16 Nov 2020 12:02:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 942B02224B for <linux-gpio@archiver.kernel.org>; Mon, 16 Nov 2020 12:02:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="Ktg0VFJb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729234AbgKPKmz (ORCPT <rfc822; linux-gpio@archiver.kernel.org>); Mon, 16 Nov 2020 05:42:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729211AbgKPKmv (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Mon, 16 Nov 2020 05:42:51 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649EAC0613D1 for <linux-gpio@vger.kernel.org>; Mon, 16 Nov 2020 02:42:49 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id l1so18111875wrb.9 for <linux-gpio@vger.kernel.org>; Mon, 16 Nov 2020 02:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4apnqJWN8UXAvTecYMu5JfVMbmh6VFU9aGBXnlA8P/0=; b=Ktg0VFJbNhT6Gyv5HvkEfFyTXEnt/sagcga2AKCTnRaxI3Vo7W5Jo2DIeexQEy/IL2 WuHGOefd+zsGbutiHhWiQPpPi7VZY7ZBOyeS7XNY/0s0CUv3pSujfZmbzMOLSrUTJuz9 tD9koaCivuaHB7vg1V9QnrsisX1tdlR1dF/uEsZEF/jZHhzeOSGuLq6wuUcEc1TVwCx+ cJ6jXaM6F4J1KG20hkW5LTZxraj8mqCW3pxzpx4GmnQF2LxXt48c8BRXT7P4DgX0sc9L F1q7TUFIRtId2L6jCxx9k66btiRvUTcT3/ZnTJ6EJ0/lc7k/qP1JRlyQmLBRYSUByM+e 3ufQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4apnqJWN8UXAvTecYMu5JfVMbmh6VFU9aGBXnlA8P/0=; b=m4/vDfkBia6tDfsSivFkTBoBdPXQPzbVVvCpSeuan9J8msCJD8OUDvxNH9QCeUOUhh kc6odMNNMgckc5jpyR5qdlXjc2JytYN7YtfBg4pVqndy5PIv4jcj5ZdY06Lv4XZpcltC /eZAveuYEKhDbM3WRjb52u3/ELSxjg0bRrY6wfOVHu09Xyh5hhaOffNvQIbvAN5VmQnZ NqSL37YfpkPfUEQ6zrLR7Ex3zCpRAR1GRg9VxCizhvsMSfwGTlggRffBEOAy2gVqIwd5 QPeEmQ9dCNz45NYl2A/HTnO0d07+TxLvGSKzvQDPpU5x7ok/y5e6kaOEgE5BKoCKiE7I Sfuw== X-Gm-Message-State: AOAM532YG+oP0nUMId0xJvpXLYJqW24jMGdgnMRG3iXDH1/3KeqKKz0/ RKeHBxtSxFBog/Z013Fyujn+oA== X-Google-Smtp-Source: ABdhPJwGmrcx6gHYvHJn300niK5264/YoVmJ2V0DOTP/flf2uNNb7eKaaKjY0lkh8vIe1LA3NtBzuQ== X-Received: by 2002:a5d:514f:: with SMTP id u15mr17805606wrt.385.1605523368152; Mon, 16 Nov 2020 02:42:48 -0800 (PST) Received: from debian-brgl.home (amarseille-656-1-4-167.w90-8.abo.wanadoo.fr. [90.8.158.167]) by smtp.gmail.com with ESMTPSA id v16sm20583283wml.33.2020.11.16.02.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 02:42:47 -0800 (PST) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Linus Walleij <linus.walleij@linaro.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Jan Kiszka <jan.kiszka@siemens.com>, David Laight <David.Laight@aculab.com> Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski <bgolaszewski@baylibre.com> Subject: [PATCH v5 2/7] gpio: exar: include idr.h Date: Mon, 16 Nov 2020 11:42:37 +0100 Message-Id: <20201116104242.19907-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201116104242.19907-1-brgl@bgdev.pl> References: <20201116104242.19907-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
gpio: exar: refactor the driver
|
expand
|
diff --git a/drivers/gpio/gpio-exar.c b/drivers/gpio/gpio-exar.c index 4202dd363a11..1941ae533418 100644 --- a/drivers/gpio/gpio-exar.c +++ b/drivers/gpio/gpio-exar.c @@ -8,6 +8,7 @@ #include <linux/bitops.h> #include <linux/device.h> #include <linux/gpio/driver.h> +#include <linux/idr.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h>