Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5813529ybl; Tue, 10 Dec 2019 11:56:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzPPMyKpbqB0EYvjSpsMDV3pSG3IGwKq4LoT+70iI3zO+a6s/7HLJ2U5iiZmXFCcVzEMtfO X-Received: by 2002:aca:c256:: with SMTP id s83mr552210oif.57.1576007774957; Tue, 10 Dec 2019 11:56:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576007774; cv=none; d=google.com; s=arc-20160816; b=N3GYwSxix7+xZL77wUVF7XIcISVQStvkZuHraWpkOp5JpAGy24mzfANi1Yb3TE4MAH 8rwopOV29Yt7rsAPwDIasEB0p+3wBeO5oydzG7wWLiq6eAGua6Z8zng4K3EYhqEJWCcC NTqWI0JixAGCk6DQVUf5l6PAaxSciMf2SMDU0AJVk5M4I74OF4x6FK9v72BaUXKURvqj x4WfFdOg30nmlL5mExNCd5LhV+Ch5iLIwsqZX92fiCDriu6mEc1AReBTWb3lreJjhvH/ twcylPJfMHIHAw6nqEpptURzUQw0VgvTRmTRZCetpd2qtteWPs/pSg2vpTzTrM9eGTUZ B7JA== 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=LWIdF3cb/eV0gPM5x30NDcpfqw+l8JBMLO4AzQvLo3JxRDv98FSVfmjs7nyfJNwyyT 8E9oakUfr9PySUuLbR9y75a9zFMQqA3FPRaeF4M0xSaxOntN2GJK5gcObmx+A4uSQ04L 5pnJK/E3Wj/uxBuagxc8p/vtDG7sIey3gwq+QwrxB5oUS2oYKO7gYWF/xGV/XiA3ZXLk WiH2YvEwaAopq6UDFy6uhRqQpCmuIMX70fFIqgc7SoHQWNU5VU+OKucNnrCQ0ojlasZF ERW3DiCjOkP3JsG/f0cbd91LlbeZLaVyrPar+q/wC1iP+rpnX/f8Za2NYyxkbHiH/P/e 7t6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 v21si2617394otj.282.2019.12.10.11.55.59; Tue, 10 Dec 2019 11:56:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbfLJTys (ORCPT + 99 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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AYYhip5Lphx2als+DMz4g5G7zDl/mHyua2WzogxuqA2bgpUm+fGDCgms6fYe62CchbU9V jtu48Dxee/6lwEupPpuD2iE59n1TCuJJ63a4aBhch+sVpznDppqBWhB7AcbhkyiSKvhd26Qrr 2/CPCb9uxNeX//437iCQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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; -- 2.20.0