Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10766557rwr; Fri, 12 May 2023 12:40:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4x1L0AGdFDjzkujsYovBYNgBIJ0pLRtfxo0L6GxppIvFy3rhdPA1wP/ndmkHKhN08MlrHL X-Received: by 2002:a05:6a20:160a:b0:103:3885:3738 with SMTP id l10-20020a056a20160a00b0010338853738mr11530893pzj.19.1683920416299; Fri, 12 May 2023 12:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683920416; cv=none; d=google.com; s=arc-20160816; b=yPjLQ4b4ijqwknGOenLyXlkVGW9nariy7+fIdqaQWxxTmyQlITkfq3DnnOgYW65R9C h9B9IiNLZtZtJvbLIEP8QWU/2sYb0i6u/CFib75t9J1i/tZWjmVBxR2IHlSMGFhWI5x/ 7sNqo99Te2OgwBrjKEdlmRMmbR97rN9+RKgutMzltgcEHM8UxE+GtrINd98/nLkZ9qRZ CAQBD0X4KhaO3Krac3ZS27BEGEhwszLvzck0oUG9GMknbVdENyOrjKqZCXwGLGr5w/zS J58Y8qO7q5FfBWpt8zdn6Xg+R0sDeUUo4QB5v8N/AAByaPbZ16t4WFPcitXxdzG98yXb 60Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dcywMyAgzHVWBkMzMKWMp8uxTyh1V1beMIfreqmnrZk=; b=Oj9xP5WYeXYAIsnUFQEvZxPsuZWD4nOIVh+GSta8p1s3r6UUA6kXoQGvm5HXnLpLMH vDFRcpljR7Rwd6Xd/kEsIiJkZc9V2yli3e/rJe3651T3UzaJdVg3Kz9GE4RVOJhWmYAi 50Lg1hSekJC+gZazcCyhX3f1XjWNE8Y44XZid0RXeLgFtXncOBnq7MUCk1algizypdmN jcc5DUO/GokOfMRN2ntZsluwp8jKA0HjlafXUOZjiI+DYSWoi7NxiwHXD2H8kgqik2+P 0jYsfpr5faZp2PnUXYkgrVerSuICkWvq0e2aFKorqw/9i8YTb7bQDAngF9RXMnEkIDTO V1Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E0UBJ5yh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020aa79e82000000b0063afe9f1fb1si11089125pfq.119.2023.05.12.12.40.03; Fri, 12 May 2023 12:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E0UBJ5yh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238625AbjELS3J (ORCPT + 99 others); Fri, 12 May 2023 14:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238605AbjELS3F (ORCPT ); Fri, 12 May 2023 14:29:05 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAE3EDD90; Fri, 12 May 2023 11:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683916106; x=1715452106; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7XkrjH216ePbLn5DlDBdh0e4NonQarbkcRYZdug7EUg=; b=E0UBJ5yhl9Ps43WQ0BP5k4JEIuvOOTENadm7MDyAkvGDIIUAUTAij530 fg3xFEzcddczPGiEf+Sx/GcPFLm9xdGMExSnKPTrdXW9uEi/8mbCdEiHL qQqyQ6i5TR6dkUy9bN/zcRDi1iuMhjsz1qMYBgTflTf2Bb7p3VXsi9+AH u//iv0Uzc5IVq0eWejECxkfW2J+fjiWda/ILQYYjss6sOgaZmRQ3SOONY 6OCa9uSRtRJcB+XmMiLjT0Lj7jQClFEwy9aGDDWi6NBWnbxEF711CmHPs 0EEgIc+p80MX+kKq8Fpi4ZBtBNlBHnEYtGIRSh70aXRAjfzgKZVeTWi8s g==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="378999257" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="378999257" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 11:26:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="946723249" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="946723249" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 12 May 2023 11:26:53 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxXTg-000528-2s; Fri, 12 May 2023 18:26:52 +0000 Date: Sat, 13 May 2023 02:26:00 +0800 From: kernel test robot To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, richardcochran@gmail.com, manivannan.sadhasivam@linaro.org, andy.shevchenko@gmail.com Cc: oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rohit Agarwal Subject: Re: [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver Message-ID: <202305130207.plVMwkCC-lkp@intel.com> References: <1683892553-19882-3-git-send-email-quic_rohiagar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1683892553-19882-3-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rohit, kernel test robot noticed the following build warnings: [auto build test WARNING on linusw-pinctrl/devel] [also build test WARNING on linusw-pinctrl/for-next linus/master v6.4-rc1 next-20230512] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rohit-Agarwal/pinctrl-qcom-Remove-the-msm_function-struct/20230512-195910 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/1683892553-19882-3-git-send-email-quic_rohiagar%40quicinc.com patch subject: [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230513/202305130207.plVMwkCC-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/1894575a5b0f681fb8697a05ac2aa68ef97e48e8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rohit-Agarwal/pinctrl-qcom-Remove-the-msm_function-struct/20230512-195910 git checkout 1894575a5b0f681fb8697a05ac2aa68ef97e48e8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/pinctrl/qcom/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305130207.plVMwkCC-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pinctrl/qcom/pinctrl-sm7150.c:969:34: error: array type has incomplete element type 'struct msm_function' 969 | static const struct msm_function sm7150_functions[] = { | ^~~~~~~~~~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[0].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[0].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP' 1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[1].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[1].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP' 1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[2].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[2].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP' 1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[3].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[3].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP' 1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[4].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[4].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP' 1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[5].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[5].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP' 1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[6].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[6].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP' 1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[7].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[7].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP' 1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[8].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[8].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP' 1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[9].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[9].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1098:15: note: in expansion of macro 'PINGROUP' 1098 | [9] = PINGROUP(9, NORTH, qup11, ddr_bist, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[10].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[10].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1099:16: note: in expansion of macro 'PINGROUP' 1099 | [10] = PINGROUP(10, NORTH, mdp_vsync, ddr_bist, _, phase_flag, wlan2_adc1, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[11].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[11].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1100:16: note: in expansion of macro 'PINGROUP' 1100 | [11] = PINGROUP(11, NORTH, mdp_vsync, edp_lcd, _, phase_flag, wlan2_adc0, atest_usb1, ddr_pxi2, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[12].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[12].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1101:16: note: in expansion of macro 'PINGROUP' 1101 | [12] = PINGROUP(12, SOUTH, mdp_vsync, m_voc, qup01, _, phase_flag, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[13].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[13].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1102:16: note: in expansion of macro 'PINGROUP' 1102 | [13] = PINGROUP(13, SOUTH, cam_mclk, pll_bypassnl, _, phase_flag, qdss, ddr_pxi3, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[14].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[14].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1103:16: note: in expansion of macro 'PINGROUP' 1103 | [14] = PINGROUP(14, SOUTH, cam_mclk, pll_reset, _, phase_flag, qdss, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[15].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[15].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1104:16: note: in expansion of macro 'PINGROUP' 1104 | [15] = PINGROUP(15, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[16].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[16].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1105:16: note: in expansion of macro 'PINGROUP' 1105 | [16] = PINGROUP(16, SOUTH, cam_mclk, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[17].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[17].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1106:16: note: in expansion of macro 'PINGROUP' 1106 | [17] = PINGROUP(17, SOUTH, cci_i2c, _, phase_flag, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[18].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[18].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1107:16: note: in expansion of macro 'PINGROUP' 1107 | [18] = PINGROUP(18, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ >> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[19].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[19].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1108:16: note: in expansion of macro 'PINGROUP' 1108 | [19] = PINGROUP(19, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins' 39 | .npins = ARRAY_SIZE(gpio##id##_pins), \ | ^~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init] 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[20].funcs') 40 | .funcs = (int[]){ \ | ^ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init] 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[20].nfuncs') 52 | .nfuncs = 10, \ | ^~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1109:16: note: in expansion of macro 'PINGROUP' 1109 | [20] = PINGROUP(20, SOUTH, cci_i2c, qdss, _, _, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name' 37 | .name = "gpio" #id, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1110:16: note: in expansion of macro 'PINGROUP' 1110 | [21] = PINGROUP(21, SOUTH, cci_timer0, gcc_gp2, _, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins' 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1110:16: note: in expansion of macro 'PINGROUP' 1110 | [21] = PINGROUP(21, SOUTH, cci_timer0, gcc_gp2, _, qdss, _, _, _, _, _), | ^~~~~~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | .pins = gpio##id##_pins, \ | ^~~~ drivers/pinctrl/qcom/pinctrl-sm7150.c:1110:16: note: in expansion of macro 'PINGROUP' 1110 | [21] = PINGROUP(21, SOUTH, cci_timer0, gcc_gp2, _, qdss, _, _, _, _, _), vim +/const +38 drivers/pinctrl/qcom/pinctrl-sm7150.c b915395c9e04361 Danila Tikhonov 2023-03-12 34 b915395c9e04361 Danila Tikhonov 2023-03-12 35 #define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ b915395c9e04361 Danila Tikhonov 2023-03-12 36 { \ b915395c9e04361 Danila Tikhonov 2023-03-12 37 .name = "gpio" #id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 @38 .pins = gpio##id##_pins, \ b915395c9e04361 Danila Tikhonov 2023-03-12 39 .npins = ARRAY_SIZE(gpio##id##_pins), \ b915395c9e04361 Danila Tikhonov 2023-03-12 40 .funcs = (int[]){ \ b915395c9e04361 Danila Tikhonov 2023-03-12 41 msm_mux_gpio, /* gpio mode */ \ b915395c9e04361 Danila Tikhonov 2023-03-12 42 msm_mux_##f1, \ b915395c9e04361 Danila Tikhonov 2023-03-12 43 msm_mux_##f2, \ b915395c9e04361 Danila Tikhonov 2023-03-12 44 msm_mux_##f3, \ b915395c9e04361 Danila Tikhonov 2023-03-12 45 msm_mux_##f4, \ b915395c9e04361 Danila Tikhonov 2023-03-12 46 msm_mux_##f5, \ b915395c9e04361 Danila Tikhonov 2023-03-12 47 msm_mux_##f6, \ b915395c9e04361 Danila Tikhonov 2023-03-12 48 msm_mux_##f7, \ b915395c9e04361 Danila Tikhonov 2023-03-12 49 msm_mux_##f8, \ b915395c9e04361 Danila Tikhonov 2023-03-12 50 msm_mux_##f9 \ b915395c9e04361 Danila Tikhonov 2023-03-12 51 }, \ b915395c9e04361 Danila Tikhonov 2023-03-12 52 .nfuncs = 10, \ b915395c9e04361 Danila Tikhonov 2023-03-12 53 .ctl_reg = REG_SIZE * id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 54 .io_reg = 0x4 + REG_SIZE * id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 55 .intr_cfg_reg = 0x8 + REG_SIZE * id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 56 .intr_status_reg = 0xc + REG_SIZE * id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 57 .intr_target_reg = 0x8 + REG_SIZE * id, \ b915395c9e04361 Danila Tikhonov 2023-03-12 58 .tile = _tile, \ b915395c9e04361 Danila Tikhonov 2023-03-12 59 .mux_bit = 2, \ b915395c9e04361 Danila Tikhonov 2023-03-12 60 .pull_bit = 0, \ b915395c9e04361 Danila Tikhonov 2023-03-12 61 .drv_bit = 6, \ b915395c9e04361 Danila Tikhonov 2023-03-12 62 .oe_bit = 9, \ b915395c9e04361 Danila Tikhonov 2023-03-12 63 .in_bit = 0, \ b915395c9e04361 Danila Tikhonov 2023-03-12 64 .out_bit = 1, \ b915395c9e04361 Danila Tikhonov 2023-03-12 65 .intr_enable_bit = 0, \ b915395c9e04361 Danila Tikhonov 2023-03-12 66 .intr_status_bit = 0, \ b915395c9e04361 Danila Tikhonov 2023-03-12 67 .intr_target_bit = 5, \ b915395c9e04361 Danila Tikhonov 2023-03-12 68 .intr_target_kpss_val = 3, \ b915395c9e04361 Danila Tikhonov 2023-03-12 69 .intr_raw_status_bit = 4, \ b915395c9e04361 Danila Tikhonov 2023-03-12 70 .intr_polarity_bit = 1, \ b915395c9e04361 Danila Tikhonov 2023-03-12 71 .intr_detection_bit = 2, \ b915395c9e04361 Danila Tikhonov 2023-03-12 72 .intr_detection_width = 2, \ b915395c9e04361 Danila Tikhonov 2023-03-12 73 } b915395c9e04361 Danila Tikhonov 2023-03-12 74 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests