From patchwork Wed Dec 18 19:48:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11301825 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 67CFD1892 for ; Wed, 18 Dec 2019 19:48:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4550224676 for ; Wed, 18 Dec 2019 19:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727472AbfLRTsS (ORCPT ); Wed, 18 Dec 2019 14:48:18 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:43462 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727531AbfLRTsS (ORCPT ); Wed, 18 Dec 2019 14:48:18 -0500 Received: from ramsan ([84.195.182.253]) by michel.telenet-ops.be with bizsmtp id fXoF2100C5USYZQ06XoFVq; Wed, 18 Dec 2019 20:48:16 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1ihfIt-0007y1-JB; Wed, 18 Dec 2019 20:48:15 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1ihfIt-0003Kb-I4; Wed, 18 Dec 2019 20:48:15 +0100 From: Geert Uytterhoeven To: Linus Walleij , Yoshinori Sato , Rich Felker Cc: linux-renesas-soc@vger.kernel.org, linux-sh@vger.kernel.org, linux-gpio@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 6/6] sh: sh7269: Remove bogus SSU GPIO function definitions Date: Wed, 18 Dec 2019 20:48:12 +0100 Message-Id: <20191218194812.12741-7-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191218194812.12741-1-geert+renesas@glider.be> References: <20191218194812.12741-1-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org SH7269 has no Synchronous Serial Communication Unit (SSU). Remove the bogus enum IDs, which caused holes in pinmux_func_gpios[]. Signed-off-by: Geert Uytterhoeven --- Presumably this has been copied from sh7203. The runtime-check under development reports: sh7269_pfc: empty function gpio 141 sh7269_pfc: empty function gpio 142 sh7269_pfc: empty function gpio 143 sh7269_pfc: empty function gpio 144 sh7269_pfc: empty function gpio 145 sh7269_pfc: empty function gpio 146 sh7269_pfc: empty function gpio 147 sh7269_pfc: empty function gpio 148 sh7269_pfc: empty function gpio 149 sh7269_pfc: empty function gpio 150 sh7269_pfc: empty function gpio 151 sh7269_pfc: empty function gpio 152 sh7269_pfc: empty function gpio 153 sh7269_pfc: empty function gpio 154 sh7269_pfc: empty function gpio 155 sh7269_pfc: empty function gpio 156 --- arch/sh/include/cpu-sh2a/cpu/sh7269.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/sh/include/cpu-sh2a/cpu/sh7269.h b/arch/sh/include/cpu-sh2a/cpu/sh7269.h index b887cc402b712557..fece521c74b30d4d 100644 --- a/arch/sh/include/cpu-sh2a/cpu/sh7269.h +++ b/arch/sh/include/cpu-sh2a/cpu/sh7269.h @@ -126,12 +126,6 @@ enum { GPIO_FN_TIOC0D, GPIO_FN_TIOC0C, GPIO_FN_TIOC0B, GPIO_FN_TIOC0A, GPIO_FN_TCLKD, GPIO_FN_TCLKC, GPIO_FN_TCLKB, GPIO_FN_TCLKA, - /* SSU */ - GPIO_FN_SCS0_PD, GPIO_FN_SSO0_PD, GPIO_FN_SSI0_PD, GPIO_FN_SSCK0_PD, - GPIO_FN_SCS0_PF, GPIO_FN_SSO0_PF, GPIO_FN_SSI0_PF, GPIO_FN_SSCK0_PF, - GPIO_FN_SCS1_PD, GPIO_FN_SSO1_PD, GPIO_FN_SSI1_PD, GPIO_FN_SSCK1_PD, - GPIO_FN_SCS1_PF, GPIO_FN_SSO1_PF, GPIO_FN_SSI1_PF, GPIO_FN_SSCK1_PF, - /* SCIF */ GPIO_FN_SCK0, GPIO_FN_RXD0, GPIO_FN_TXD0, GPIO_FN_SCK1, GPIO_FN_RXD1, GPIO_FN_TXD1, GPIO_FN_RTS1, GPIO_FN_CTS1,