Skip to content

-Wunneeded-internal-declaration in drivers/pinctrl/mediatek/pinctrl-airoha.c #2142

@nathanchance

Description

@nathanchance

After commit 3ffeb17a9a27 ("pinctrl: airoha: add support for Airoha AN7583 PINs"):

drivers/pinctrl/mediatek/pinctrl-airoha.c:2064:41: error: variable 'an7583_pinctrl_drive_e2_conf' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
 2064 | static const struct airoha_pinctrl_conf an7583_pinctrl_drive_e2_conf[] = {
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions