]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: include cru_rk3588.h and define rockchip_cru for RK3588
authorFUKAUMI Naoki <naoki@radxa.com>
Tue, 18 Jun 2024 19:30:44 +0000 (04:30 +0900)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 17 Jul 2024 04:33:17 +0000 (12:33 +0800)
commit0f9872c4db11c5a41a94bfb41214fa19733bf46c
tree5cfe7321b95dff44a812920df196415ed09c10e9
parentc580cb4b8bd305382f16a5bc5074faa34bc53770
rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

fix following error found by clang:

  CC      arch/arm/mach-rockchip/cpu-info.o
arch/arm/mach-rockchip/cpu-info.c:23:13: error: incomplete definition of type 'struct rockchip_cru'
   23 |         switch (cru->glb_rst_st) {
      |                 ~~~^
./arch/arm/include/asm/arch-rockchip/clock.h:181:8: note: forward declaration of 'struct rockchip_cru'
  181 | struct rockchip_cru;
      |        ^
1 error generated.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/cru.h
arch/arm/include/asm/arch-rockchip/cru_rk3588.h