Files
android_kernel_xiaomi_sm8450/drivers/base/platform.c
Greg Kroah-Hartman 72b5689f02 ANDROID: fix up platform_device ABI break
In commit 063444d66f90 ("driver: platform: Add helper for safer setting
of driver_override"), a pointer was changed to const, which messes with
the CRC and ABI checks.  As the code is fine if this is left as
not-const, just put it back to preserve the abi.

Bug: 161946584
Fixes: 063444d66f90 ("driver: platform: Add helper for safer setting of driver_override")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ieb4a730a6a5767d31fbec2f1ba683617f5cda7a9
(cherry picked from commit c4dd1cfc1d5a7ce8ec37fe4ce11d3ce58bc6f3e9)
Signed-off-by: Lee Jones <joneslee@google.com>
2023-11-28 18:00:10 +00:00

35 KiB