On Tue, May 28, 2024 at 01:43:01PM +0530, Manorit Chawdhry wrote: > vd_data remains the same for most of the SoCs but there are some > differences in power domains and clocks that don't need a change to > compatible and can be handled at SoC level. > > Change the data population logic from compatible to soc_match_device to > add support for newer devices. > > Signed-off-by: Manorit Chawdhry <[email protected]>
On am65x_evm_r5_usbdfu am65x_evm_r5_usbmsc:
arm: + am65x_evm_r5_usbmsc
+(am65x_evm_r5_usbmsc) In function 'k3_avs_configure',
+(am65x_evm_r5_usbmsc) inlined from 'k3_avs_probe' at
drivers/misc/k3_avs.c:459:8:
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c:333:12: error: 'conf' is used
uninitialized [-Werror=uninitialized]
+(am65x_evm_r5_usbmsc) 333 | if (!conf) {
+(am65x_evm_r5_usbmsc) | ^
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c: In function 'k3_avs_probe':
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c:323:27: note: 'conf' was declared
here
+(am65x_evm_r5_usbmsc) 323 | struct vd_config *conf;
+(am65x_evm_r5_usbmsc) | ^~~~
+(am65x_evm_r5_usbmsc) cc1: all warnings being treated as errors
+(am65x_evm_r5_usbmsc) make[3]: *** [scripts/Makefile.build:256:
drivers/misc/k3_avs.o] Error 1
+(am65x_evm_r5_usbmsc) make[2]: *** [scripts/Makefile.build:397: drivers/misc]
Error 2
+(am65x_evm_r5_usbmsc) make[1]: *** [Makefile:1892: drivers] Error 2
+(am65x_evm_r5_usbmsc) make: *** [Makefile:177: sub-make] Error 2
--
Tom
signature.asc
Description: PGP signature

