diff options
author | Linus Torvalds <[email protected]> | 2023-04-27 16:21:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2023-04-27 16:21:32 -0700 |
commit | d06f5a3f7140921ada47d49574ae6fa4de5e2a89 (patch) | |
tree | 43d53ab69dc67a0732b73db8cf81ca2d2f523ecb /drivers/cdx/controller/cdx_controller.c | |
parent | cec24b8b6bb841a19b5c5555b600a511a8988100 (diff) |
cdx: fix build failure due to sysfs 'bus_type' argument needing to be const
Commit 75cff725d956 ("driver core: bus: mark the struct bus_type for
sysfs callbacks as constant") missed at least one case - the CDX bus
driver. Probably because Greg didn't notice the build failure, because
it only ends up being enabled on arm64.
And I missed it during the merge, because while I do arm64 builds these
days, I don't do them in between each pull. So it took a while for me
to notice the breakage, rather than me just fixing it in the driver core
merge that brought this failure case in.
Maybe we should remove the CDX_BUS dependency on arm64 when COMPILE_TEST
is on?
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Nipun Gupta <[email protected]>
Cc: Nikhil Agarwal <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions