]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: octeon: convert cvmx_helper_interface_mode_t from typedef to plain enum
authorEric Wu <kunjinkao.jp@gmail.com>
Mon, 27 Apr 2026 15:54:22 +0000 (23:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:21:34 +0000 (16:21 +0200)
commit1397bb27f46ede6b03942b506d3e777b89634841
tree19a4fd2d97116ad1a388a7412a785cc896afd3ce
parent4f44225a9b7aa99325fc0f4ea399b3f2f9595737
staging: octeon: convert cvmx_helper_interface_mode_t from typedef to plain enum

The Linux kernel coding style discourages the use of typedefs for
enums. Convert cvmx_helper_interface_mode_t to a plain 'enum
cvmx_helper_interface_mode' and update all users across the MIPS
Octeon architecture code and the staging driver stubs.

No functional change.

Signed-off-by: Eric Wu <kunjinkao.jp@gmail.com>
Link: https://patch.msgid.link/20260427155427.668540-3-kunjinkao.jp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/cavium-octeon/executive/cvmx-helper-util.c
arch/mips/cavium-octeon/executive/cvmx-helper.c
arch/mips/cavium-octeon/executive/cvmx-pko.c
arch/mips/include/asm/octeon/cvmx-helper-util.h
arch/mips/include/asm/octeon/cvmx-helper.h
drivers/staging/octeon/ethernet.c
drivers/staging/octeon/octeon-stubs.h