]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
driver core: make struct class groups members constant arrays
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 1 Mar 2026 12:31:56 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Mar 2026 09:21:31 +0000 (10:21 +0100)
commit10f874dc92b3f3bf96470d997bdf157b289c9d4c
tree298d84c2534c9e5f4efb226e24054ec556458fb3
parentece5283706aff6791a37894bafbb0c134a94c0f3
driver core: make struct class groups members constant arrays

Constify the groups arrays, allowing to assign constant arrays.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/7ff56b07-09ca-4948-b98f-5bd37ceef21e@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device/class.h