1.1 --- a/pkg/devices/lib/cpm/include/cpm-jz4730.h Tue Oct 24 18:52:06 2023 +0200
1.2 +++ b/pkg/devices/lib/cpm/include/cpm-jz4730.h Fri Oct 27 18:02:49 2023 +0200
1.3 @@ -21,8 +21,7 @@
1.4
1.5 #pragma once
1.6
1.7 -#include <l4/devices/cpm.h>
1.8 -
1.9 +#include <l4/devices/clocks.h>
1.10 #include <l4/sys/types.h>
1.11 #include <stdint.h>
1.12
1.13 @@ -30,13 +29,14 @@
1.14
1.15 #ifdef __cplusplus
1.16
1.17 +#include <l4/devices/cpm.h>
1.18 #include <l4/devices/hw_register_block.h>
1.19
1.20 /* A simple abstraction for accessing the CPM registers.
1.21 * A proper device could inherit from Hw::Device and use an
1.22 * Int_property for _exclk_freq. */
1.23
1.24 -class Cpm_jz4730_chip : public Cpm_chip
1.25 +class Cpm_jz4730_chip : public Cpm_chip_base
1.26 {
1.27 private:
1.28 Hw::Register_block<32> _regs;