From patchwork Tue Dec 10 19:54:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181152 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp6349466ile; Tue, 10 Dec 2019 11:54:49 -0800 (PST) X-Google-Smtp-Source: APXvYqz8owL4RMfBm3EV2XXNMMT8CB0iltp1Ko5pdva67bz5TeDX1UpK+QN+axY2mUN6b9ACOXJg X-Received: by 2002:aca:3182:: with SMTP id x124mr550479oix.170.1576007689598; Tue, 10 Dec 2019 11:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576007689; cv=none; d=google.com; s=arc-20160816; b=gK0vgJCvZbshDaBRKFAY/G9gU1z7vwd308rjzpr3khPN1ig2L9uaWpcWOhQ6rlkNt+ DXKNAlBDzISzsfRBpyCmffR3JShiHyi+7NHaiqtaPh3r8NN99KPs5bLxZj6gIlOyc25M rywaqkjFiEJnB02qqu3tSIy7UAqJENGgzwlIqOWZj4cQNFbir1JCHr2dID3oCKKlo6AA WO5QaZJruv/GMkYo7lPV4OrLS2afpaXGro9jFrURlCs9zzDkmmMogEh5GGVx6MJhsvMO DCt5+/qe8DGHcUXLWI144BvNqpCxg56N9ZkpX+kLdL4Dknz5vbf/+aU66j5+jiJDHBT4 HH9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=o87O3Dbx5EJyG+bI2VHnwiBywOBecukgAaIvL77Um1c=; b=rvt0v0Chc+KCxa5oKnQ2Njwom1RJuidSUrqPGOmtZAFCWHIic0XxgG1e6ASFwukZfT bqUMMT8TjDvB10AFgVN+qN2VGIO1iMjE+GTUKh3FMi7j2PNk4Dc1YhcVVcU9I+iPRlSz 4aPQonWyBl1CywBU+lBb/ag5irjr+ookQPqEpUFtpHkGJznT5Acacvk3swRYrW7QkvSq QYTm5l4pDd2eGMxtvQ2vFn7cA0iIBJvXp/4lnse2xcTpSpgPwRElWeTnw8RpYvlsK01J fiIfZZMXYd9s4cfuHvLfeXE/4tCnQLLNxELc5MHyI6kJe0nTy2DjsBBqbMuE0Ywn9kIP ay3Q== 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 l64si2513244oih.2.2019.12.10.11.54.48; Tue, 10 Dec 2019 11:54:49 -0800 (PST) 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 S1726071AbfLJTys (ORCPT + 5 others); Tue, 10 Dec 2019 14:54:48 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:53641 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfLJTys (ORCPT ); Tue, 10 Dec 2019 14:54:48 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1N336L-1hbMDX22vd-013KWw; Tue, 10 Dec 2019 20:54:18 +0100 From: Arnd Bergmann To: Linus Walleij , Bartosz Golaszewski Cc: Arnd Bergmann , Chris Packham , Scott Branden , Ray Jui , bcm-kernel-feedback-list@broadcom.com, Mark Brown , Yoshihiro Shimoda , YueHaibing , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: xgs-iproc: remove __exit annotation for iproc_gpio_remove Date: Tue, 10 Dec 2019 20:54:01 +0100 Message-Id: <20191210195414.705239-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:ViR4DlsLfm5z2iRq3mTNYVk27TUrhxY06rvnZvn6AHxtb0Apv0z 4e9w9BqtLQi6Qw6gQ9xQoi2nXSUcB/7vx4+cw6R33qDkF+b0xmxG8eNSJXNbJsWfVgqGJ64 8x4p1fC6i11hD8F2rivD2eq/nE8IT731gbb1xxNeEzsGxuGk8zxQioL00K/1bEATXEAY7Bf p3r9pBpxe7yJSWfbcnpkA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:pmgS5U1eydc=:xvG/qPdehBWt2PvVfZW4ud KlyDQmCyrjE4iKkSzfdIT9hJcLWGPzN144l7Z9BwKCTSreDoLLHLqG2I31JYTddlkBsmqjcg3 r93e4fKiBBTaQej3N/h3w7MItzWjKGcp/TsyCUbZKVTiMy1u4WOFN6Oe4lsTvZkpkssbJvzid N90jgAMRpYhX1Mte738oeU+VFRdieJYtIx5o0DGjF+o17YJUDNB+fiZ6/sbqRi4oX4PmyQsyz ODuzphVORVBcXFYTPjyxIPKyy8oWPXn9qmQV6QlrEGAMFNPHr4aQ7n1uLcBBMVbyJaeL+LesG 7lwmxeDNo4GMmekHkdsanJNZLvlqTxLvSx8E61r1auB4IBdmAMPRiO/MLiw8AaAGDzkoyo1qJ OS9MLxFxfuwgo/n2ruUPEDG9ic/BmdGhAkLY3ky31jSv9cxjlU1VUIMHuw/sXprWCCrsQQVQM 95PR8UwH7G5APK8IZ28/wJGqp24m9FGM9WuzydJ0+VaJdCMlhT6VELXdZ3NAhBpxqwgmp1B52 0dx9jat9gtZDwxPLl7dYYxBTNAgxWACteKtalqIWfZd+KB487IzQFOB1heZpYS/314uvEfykG S+T/TxCaRwNk3C1WPJDPvHeXr7ZZw02nhDF//5rAOHYe7IBxHpbdqNissm6x0zvKEyBGSVnfX /zdOgNN3CA4dkQ53qYq38uyOblz4F7RoOGo3ZGXb9IM5DotVgYaUWJ1+FdM0UM/9ZVkRht8wZ sveGAYYhip5Lphx2als+DMz4g5G7zDl/mHyua2WzogxuqA2bgpUm+fGDCgms6fYe62CchbU9V jtu48Dxee/6lwEupPpuD2iE59n1TCuJJ63a4aBhch+sVpznDppqBWhB7AcbhkyiSKvhd26Qrr 2/CPCb9uxNeX//437iCQ== Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org When built into the kernel, the driver causes a link problem: `iproc_gpio_remove' referenced in section `.data' of drivers/gpio/gpio-xgs-iproc.o: defined in discarded section `.exit.text' of drivers/gpio/gpio-xgs-iproc.o Remove the incorrect annotation. Fixes: 6a41b6c5fc20 ("gpio: Add xgs-iproc driver") Signed-off-by: Arnd Bergmann --- drivers/gpio/gpio-xgs-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c index 773e5c24309e..b21c2e436b61 100644 --- a/drivers/gpio/gpio-xgs-iproc.c +++ b/drivers/gpio/gpio-xgs-iproc.c @@ -280,7 +280,7 @@ static int iproc_gpio_probe(struct platform_device *pdev) return 0; } -static int __exit iproc_gpio_remove(struct platform_device *pdev) +static int iproc_gpio_remove(struct platform_device *pdev) { struct iproc_gpio_chip *chip;