From patchwork Thu Jul 22 10:53:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1508635 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=khkRB+Av; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=XxMaUCTA; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GVq8H0vxbz9sXM for ; Thu, 22 Jul 2021 20:54:23 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QxigNzxkX6Y1g98aWiiZ+x6S4eCQIqOUkg29Xcy3HW4=; b=khkRB+AvtEjUrN S3xUuwV2wfGiiCxPPE5jxMTCWVBm/tuRL/5np8srKBkETpbKTvoUyDHa7DqgrfEa2bBKbcydT4+3g nygLQIIrOW1vMoqcKYoZVupv6yMF4vefyj5XeyVQmwrrTtOvtXRMJ87PosDh27H5QMwW16UPIWjb5 6DbJ2n72gIbcIU+9YqoZ5nv3GhPmdYHJoUcvD4T+m72n45RSRcMy54dMFosL5uUq6L6MpS8virZ6h tCZsqaZ2KmUfonS4+q1nTyA9WPBzrxerHftuOYITI+RRmUQ8bUEonBl9St3mc1wyW3nCeBkZ5dksM v/tpXPpAea/0Mdkdq7vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6WLI-001HBX-54; Thu, 22 Jul 2021 10:54:16 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6WLD-001HAK-O9 for opensbi@lists.infradead.org; Thu, 22 Jul 2021 10:54:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626951245; bh=/33Y1+MxE/kHJy2sK0v0mPMOE24ZkKlVeSOdp2hwiug=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XxMaUCTARBGIRzQaoBU5cUQ3XD3fKs/1Blj/1lRXc3bV/rXIzxMRxWN+VN+Z+LtYH A3wVAoLUJHqLe0+7jzR7dzUrpI5ZiHk9vPOploxJsGk1UqoE7V64cNL5S8+OlYoPhZ yq1m+qPTC4/JXcRkX7u+//qw+J7PULzO6DmmuZBA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from workstation.fritz.box ([88.152.144.157]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MYNJg-1lcFl12Zzm-00VTOj; Thu, 22 Jul 2021 12:54:05 +0200 From: Heinrich Schuchardt To: OpenSBI Cc: Green Wan , Anup Patel , Atish Patra , Heinrich Schuchardt , Jessica Clarke , Heinrich Schuchardt Subject: [PATCH 1/2] lib: utils: remove unused variable in fdt_reset_init Date: Thu, 22 Jul 2021 12:53:58 +0200 Message-Id: <20210722105359.18622-2-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210722105359.18622-1-xypron.glpk@gmx.de> References: <20210722105359.18622-1-xypron.glpk@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:77zlXcveKqjfuMEb0dDJ3bmUhnFZtWfZQhzYuK2UrtGWk9UR0AL OVpeUAbXBUVXtxXYzkFZXhl6XRo3sW4ihdFH0K4lI2VTrFpTVUEBTztfupWrm88cNZvw/Op gfIsINd8MtAjDqb6Um9BaunWaxxmo56bvHhx3zxDvXvFbi1lKer/Ubw6YdqtzP/RGMAozv1 8zup7QNRa7/lYuRhsUmUQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:B+zA01OUNqI=:1PMt6BTF1mwTvLap4Ymw6I v99Y+5lpfzM73I5HWvlXvhi4alaXwOM9764M0DrZwg886LoAENbwXuu3XXRCODj2vy0Q2kBu4 o5rmrO7mPWlnHw6mq/nfc47P1EkPby1RYt1UwLO73J3TYz497MS68CMtdbQp4eJM3Y2eivz6p 3neQ2ssWmI8eAW3czHSbepeTcSMbwVIba4yTWuCARjBDYcsM/JSGS6Op3Y333Qvr4zlXdLxqp 4HLpJV5Mw9f7pwt+2LnmDKZ0dPaRzrWrykc7bpqDzkGBBagWARwyGXrrthPiqwwu8suIHvtyg e0tJJETyXO2Ud5GVx8HL5/Ok0IzXUju/fBqzHhYmITBZmYRN17H9vxAfTDWKb/cR2JvLY4RPR 1aboFbuliAQP8GkUGxZgTQkZsfUbBiw6AkPtPn/iD12YAmRByOsn0cFIqMl9XpjltfVpjJk/G 4BY3u7tf/GliifIGLpMMP4D4fJCMFSWwoPlYqvilattFHYnnntaJawARa2cOboPSkxxe/m1DK uo7rtW2Ureh2KW4qMLCV3q1dKhuIeywrVpICXyXOC0C7f1OH5kI/z6kGpTqXtg3zH8t2vbOo7 zEhiPERwC+FnjaBaT/NADDV16KfFq32olfQYuF+rgG530DbXJcyBor8GZffqFwE0pDb/DH+r7 x9g9hsTex0mrlkiaRXw6OypLTAhpfTEpZ43j1EuSaf4tSAJqCWP2rs1gaP+wXfWhKPo+jmxR2 o0BhH6lggMZaE4oVw95fuI8cgqJKWs5lqGHDYd+II/bWxRO8jcIWrxKc8AL/HDflzpqmftoN4 eCkvKL3wK4VyGEFJUREqLaYkyOQ1OF01P1EVJIzwsYxO+FXH0eYm9eqOFvbDvsluSrQy1ZoEG roYO38kjhS2fy3+ESzgC2GSXvn65DYPc6tDY4mH+girP4UBX1kK6e4jWZ662pE8jid/W1LAy+ R1XpISl2rA39bY6SohMfkoCd8No40o6NMqQtV9F0MZVVlwGtgq9drxdWiIguBEaG1bH37xcrT wEe5O27+kfDttAx88mMu5zG3/lXwINGwQolvv2ZPRe8OII/5Lv6SV4M150rftNtZQFLQTUwDE kLkOtcZ9LYuqMtxZDl7eEKCebENTRIu8itB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_035412_167270_4DEEFC59 X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The value of variable current_driver is unused. Remove the variable. Signed-off-by: Heinrich Schuchardt --- lib/utils/reset/fdt_reset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index aa5f59f..87f925c 100644 --- a/lib/utils/reset/fdt_reset.c +++ b/lib/utils/reset/fdt_reset.c @@ -24,8 +24,6 @@ static struct [...] Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.18 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [xypron.glpk[at]gmx.de] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The value of variable current_driver is unused. Remove the variable. Signed-off-by: Heinrich Schuchardt Reviewed-by: Atish Patra --- lib/utils/reset/fdt_reset.c | 3 --- 1 file changed, 3 deletions(-) -- 2.30.2 diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index aa5f59f..87f925c 100644 --- a/lib/utils/reset/fdt_reset.c +++ b/lib/utils/reset/fdt_reset.c @@ -24,8 +24,6 @@ static struct fdt_reset *reset_drivers[] = { &fdt_reset_thead, }; -static struct fdt_reset *current_driver = NULL; - int fdt_reset_init(void) { int pos, noff, rc; @@ -47,7 +45,6 @@ int fdt_reset_init(void) if (rc) return rc; } - current_driver = drv; break; } From patchwork Thu Jul 22 10:53:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1508636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=n8ABmTIh; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=UJy3FAUA; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GVq8H0zTtz9sfR for ; Thu, 22 Jul 2021 20:54:23 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pp7KWQMge6JYuAY4Zo9VGHHm8N6GkPevtLo6wKiyHGA=; b=n8ABmTIhek4M8u uBJTREIdmHlcMpMo11cvTdN94AO+N/+QwRzWlP9298AjUt1V4KhfkoFxiD7x1FbsxmW2HtkhkXbvB YbQgW7vWlV82J5Lf5T1n6xQKUBcRPl/KK0mQVGynxWMZT+UBXkUG0nIrIld9BXQruszIZpuLHsLJZ nW5/7aZ20LLEhJvJKfDMTislKzFFBRfLpArLmuCcA7BLRl6tpOIXuGMyMKzS/pcDW2GwI+sWn/GGq MbYBLtBjOBcamKVNycJE7AWCWo5zBd+kB6HiklbeD5d9XbWFNGE454rBDXRAyDX+CNuUWve/gZwqW tv4kBBKe5MOt01RnkK9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6WLJ-001HBz-Vy; Thu, 22 Jul 2021 10:54:17 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6WLD-001HAL-OA for opensbi@lists.infradead.org; Thu, 22 Jul 2021 10:54:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626951246; bh=juAzEQttlXwmoXDiu5MZ8Q4VmpcScIEq2Tt5lD1aYaA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=UJy3FAUAEVeye9vXoliRQgC6T47By8EvRzhPU6LvkLizLVPIHeiwkuOggFsXxgCVx vcV4M/5O2LIxfpVAcEptlSs8Qb7C+dTdmwiUkw1TcLgm3NSuuBrG7rShrdAWZNrh05 iE5X5dy8izBbIDP31tpPkLj9DFE47cRUH0/XMLIk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from workstation.fritz.box ([88.152.144.157]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MD9X9-1lxTvo45D7-00979e; Thu, 22 Jul 2021 12:54:06 +0200 From: Heinrich Schuchardt To: OpenSBI Cc: Green Wan , Anup Patel , Atish Patra , Heinrich Schuchardt , Jessica Clarke , Heinrich Schuchardt Subject: [PATCH 2/2] lib: utils: support both of gpio-poweroff, gpio-reset Date: Thu, 22 Jul 2021 12:53:59 +0200 Message-Id: <20210722105359.18622-3-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210722105359.18622-1-xypron.glpk@gmx.de> References: <20210722105359.18622-1-xypron.glpk@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:bTil3bcqnwfmURT1nLY7hcCRJVE7DDr9DmEISVPc6r7JXRXACcf Ow8MM/k2QiVnQPwgDsKvxWn3FwLotL3cTuwc7CZyfyRoMN46x6kfyFG+qmYVR5J0XhIIkYE sXRucTbrm1jZgyl6TkcAbn1N+eAA0EGzhMMX8J+g3buKMaHOqf83X/RUl4B6/6F29VyCdhq y9iJojzOJ1jibQhKyFhcg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gTOZQ+JB7VM=:6o7f7hmKg2w7fFthC200hN LIyegaq+WCvHawDnXYNOxcEg38w8AAW7muVvtsmqjMSKc2Huv+RH1//q97uRVan43LAX+8hdC 90g8p57fUhyn91Cc2wjyHO+C/xt2SbJvg0frH2w1tBVS5M68yBy6wXhLjm2hgEbNjgDumCxc4 JTbAKAasUGf1xLTriOsqqXLQ8eRYJ9xdO3gxRzThWQPqr5NxIyI64vP0Hfu/I4QRbCg4gcqBz 6C1SDO6UnOuF9Ih09kuov4dZTuPNVIaeJEAJ5f+pv+J2O2YrOgnNW6pV58zVil67VPuj/8ABk LmrytNXbZNwjqTQB5f7nZLluDGkG0z65ETaolciPFN2mF3PrVskEYysGypuJoJiYWagTQ5EI2 6xsBmwSNXfyEKQTLTfp4OwtLyrWnmKYQaXwtEU29hJ4OI0FH7L1p3sI6uRUlOsPW4WvO4h2Wu /pSklfw3zsm4F2uAXup8auFd9hmR/63i1gbStggwIzY80I9we2/Tri2W+ys//6Vk9AQ13np+H iUJ3TK9tWpaYSGV4hqki9y0hElP2mHgJy8F0GlgAqH9yo4gae67pmm5LF59/BU9Y1EpkDFFj6 rtprM3fTuhDKZAlNbycXy7jbqPZjIElAoQTQvc7qBZm5eE11RpssGIag5f2Uj73zjsTBT0KPm W/+E87lqBM2I8gsVVISaygnwWYiFT1pIpUIWzm7IL+rDyXORGLBAcgBmyzKHWiEXxBVdQS3/G jETxLR+Ut+gkE+bCecUz3a+jJmfx8arsftAOzX1V6Sxomw4t/z64nTAg6dCTbgX+z8cCFQrSM piyruWr+z+ASkkvtBv/Y5OYfxlHby45pFGVXDRYpRuRtf/2cspRz13McOhFkYojc7zXP862aK 0dfTR7MvGlAdJ7v82vVcrQS29IIZze5TUl/fJ1Ntdc+jX81QJH3l0VuJ3C0Hc+hkrCeSkS7PR r/7892g6lkNBaE2k0pJTI4Yy+CEdChvsfQq0reZnVmqwrbUUhA3aIzwvtJdYsF7TNDHhM95Xh RE9brKkl0yhts6FSKGKjR3dNGNc7ZbpiJ2JU5vS4VUwAXhETClYQDQOmQl+GPitED+vgrSDtO LSPi2JMltfGQhr0PwbqSzgMtwsaUCXSjwpO X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_035412_168312_656FAA6D X-CRM114-Status: GOOD ( 10.98 ) X-Spam-Score: -0.7 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The generic GPIO reset driver has two entries in the match table: "gpio-poweroff", "gpio-reset". Only the first entry is considered by fdt_reset_init(). Define "gpio-poweroff" and "gpio-reset" as compatibility strings of two separate reset drivers. They still can share code. Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.18 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [xypron.glpk[at]gmx.de] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The generic GPIO reset driver has two entries in the match table: "gpio-poweroff", "gpio-reset". Only the first entry is considered by fdt_reset_init(). Define "gpio-poweroff" and "gpio-reset" as compatibility strings of two separate reset drivers. They still can share code. Fixes: e3d6919d10d7 ("lib: utils/reset: Add generic GPIO reset driver") Signed-off-by: Heinrich Schuchardt Reviewed-by: Atish Patra --- lib/utils/reset/fdt_reset.c | 3 ++- lib/utils/reset/fdt_reset_gpio.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) -- 2.30.2 diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index 87f925c..0d84dc2 100644 --- a/lib/utils/reset/fdt_reset.c +++ b/lib/utils/reset/fdt_reset.c @@ -12,12 +12,14 @@ #include #include +extern struct fdt_reset fdt_poweroff_gpio; extern struct fdt_reset fdt_reset_gpio; extern struct fdt_reset fdt_reset_sifive_test; extern struct fdt_reset fdt_reset_htif; extern struct fdt_reset fdt_reset_thead; static struct fdt_reset *reset_drivers[] = { + &fdt_poweroff_gpio, &fdt_reset_gpio, &fdt_reset_sifive_test, &fdt_reset_htif, @@ -45,7 +47,6 @@ int fdt_reset_init(void) if (rc) return rc; } - break; } return 0; diff --git a/lib/utils/reset/fdt_reset_gpio.c b/lib/utils/reset/fdt_reset_gpio.c index 7e0eb74..77e308a 100644 --- a/lib/utils/reset/fdt_reset_gpio.c +++ b/lib/utils/reset/fdt_reset_gpio.c @@ -129,8 +129,17 @@ static int gpio_reset_init(void *fdt, int nodeoff, return 0; } -static const struct fdt_match gpio_reset_match[] = { +static const struct fdt_match gpio_poweroff_match[] = { { .compatible = "gpio-poweroff", .data = (void *)FALSE }, + { }, +}; + +struct fdt_reset fdt_poweroff_gpio = { + .match_table = gpio_poweroff_match, + .init = gpio_reset_init, +}; + +static const struct fdt_match gpio_reset_match[] = { { .compatible = "gpio-restart", .data = (void *)TRUE }, { }, };