From patchwork Tue May 30 11:13:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 100702 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp157828qge; Tue, 30 May 2017 04:13:43 -0700 (PDT) X-Received: by 10.99.109.130 with SMTP id i124mr25167638pgc.117.1496142823174; Tue, 30 May 2017 04:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496142823; cv=none; d=google.com; s=arc-20160816; b=Ciij/2/SLAo6qxPO7sKxZd4130CsHR1/Q9rNY21mQXCBQ4isLkaJYk7tiu55NmCjFq MiPaxlSreHzDvcc1LhF4pLa2xH5+qQTXHjvRCRkTvHWDi48bgM8+a0SvW7oB4Xkqn2GW 52p8KTTkOs4aHsx1YEA/9scsfhY80RAuWKKGdfBq5xFse2EBmpLKfh7IjY7LbWJQsAIN K4GCtnslX31rKiAattxw19wQ2iwguhDGacqJey6QfJZvrLVIPPNuPX9LsbgJuKqOzplJ vEy56YTnwgAlhrRQ3pcjTwL4CHcQO3xZd8S04jMQHgf74sYY2+H1t1o8Zhrd0dvCq9VX +Sbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=JB4QaigQ94+1KAo4kR0Sf62HRpesGRd2iKxhu5a5w3s=; b=Xr8iZdu+C+x+msUJ8NMwqDdkKQOamkMuHOYdqVf8zdAA37fYATEMiiBy/ISL6ltbK+ F5JCDzy/CiVpHxQ+vVorFJXCaANo3ldahd5sdRKN0ZS7h32flkxr21cZYV5COEc85jdJ hEI/GHGYBQSsCJ2sX/SQ2d/mU1YfT4Y4zRPl9Owbtpb/CEOXnpaRZHswreRTo+b7NB2k 21sqaRWAYBg/qe4pvgG2BTBGqajl3/SicthKDbOMDopuInGwmkWtvUtenvYlj/6ucIEL 33ZjLqYDtm35awyi/BkbtY9LIAualr6Z0l+Xln2dDzPLj3A84SGRrGUkiKGQtd88u6k5 7tCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y63si13362105pfd.154.2017.05.30.04.13.42; Tue, 30 May 2017 04:13:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750925AbdE3LNm (ORCPT + 4 others); Tue, 30 May 2017 07:13:42 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:52866 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbdE3LNl (ORCPT ); Tue, 30 May 2017 07:13:41 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0LtjF3-1dwODo4BWP-011EU0; Tue, 30 May 2017 13:13:34 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Nandor Han , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: xra1403: select REGMAP_SPI Date: Tue, 30 May 2017 13:13:17 +0200 Message-Id: <20170530111332.3829080-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:+rjjsOij39dHd0hJozyOTkaF44emSPNmBFTAvNrzUPj395l+78/ 6F9WA16emjDO7cJgYfQMy8n0yAC5JZaIJH6G/ZoD11VgVn5aujh2jevD4xF0DniWjpOZL+5 Z9u+WmMAjo8WfPUU2mQMsJdnlT67Y/FD96qp43dVWmTKYEYW50Q9dQIrYdq+Ak68LnGgjru dLURDSxSWNyyWGg1y/q6A== X-UI-Out-Filterresults: notjunk:1; V01:K0:Sec8lK5d6YQ=:UZMx7CmgE0wfWfg2uAcb1b wysFS5ILa134+InC91iySWVvIPTvbBCKir7juRmrKQmuNnOoEz/AwrsDyE8D5CRN0s29nftnp SEggKU5vlxz+Ngt75EmljUZBd4yOPNfKYO3tNU8YOpIwxOsG610I2neVTVjqW8Ur5ebjH0Vtw LXQmXEMVz4vZp5n200utXmBKzVd+PgkCG878OMTb6TnKgL9skk/U6SOyjtP8FoIiwztFqKzZu holagg2D7Fnszyx+GuUewjUli5/DjRVu8bRMZxJ18hYbBF8oDYFO75EiqYTKbUC06ho0PDa/m nVppl9YyZUeNHP1g3RSi6WRK5az1KyA6nZuYU5/nN0QqSqjgUH61DFs8Ni0i2ut+yLgZu/Rle 8nT8pzwgVTuFlzhCEH7IOFZyMAKspty6aYtLAc4JdqxPFX1zsAIdn6kVjUV0aQCndLyMM/efp Z70YbFpj96+/FxYb/xENszq99pN8Qy0uQ9sTXAaNF3ZG1FAE/aWl4gmwBCvOZ633i6EQifj3d cX8/HWuXb6ovVSzUUWclJ83sZeFLBn9oEJYoP07f1aHqNMDoFs6LjNhIM6H5bW+OwfLh6lynF Kw7/PWp6KbPYOl/jL8Tze6M0rV3ivWTC6GFgXXny9m1hdnJoXDM80muMSfhOwn3EIogRPycJg eOjjaD0+k7VnYT0AKVvw+24+GIRxOoHzaWI30DuZpUqSKjmjZ/gzMELJ/osyczLMTF0g= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Without the regmap code, we get a link error: drivers/gpio/built-in.o: In function `xra1403_probe': (.text+0x132e0): undefined reference to `__devm_regmap_init_spi' Fixes: 5704520d7880 ("gpio: xra1403: Add EXAR XRA1403 SPI GPIO expander driver") Signed-off-by: Arnd Bergmann --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Nandor Han diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 66d1f353ca73..238fc231081a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1241,6 +1241,7 @@ config GPIO_PISOSR config GPIO_XRA1403 tristate "EXAR XRA1403 16-bit GPIO expander" + select REGMAP_SPI help GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.