aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-03-07 08:51:02 +0100
committerGreg Kroah-Hartman <[email protected]>2023-03-07 09:24:29 +0100
commit22fd6153c16a40d123d8c9936967d0a59e417129 (patch)
treeea1087c30215106dc29e923762dc634677a3300b /drivers/fpga/fpga-mgr.c
parent721da5cee9d43901105f5b8bd33fcb9101b12fc3 (diff)
driver core: class: fix block class problem when removing CONFIG_SYSFS_DEPRECATED*
In removing the CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 config options, I messed up in the __class_register() function and got the logic incorrect. Fix this all up by just removing the special case of a block device class logic in this function, as that is what is intended. In testing, this solves the boot problem on my systems, hopefully on others as well. Cc: "Rafael J. Wysocki" <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Fixes: 721da5cee9d4 ("driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions