clk: sandbox: Adjust clk-divider to emulate reading its value from HW
[oweals/u-boot.git] / include / linux / clk-provider.h
index e06487f07b4c1331063d0cbaadd7a7e1f196a816..53c9c41b90de4f5870b6ca8a3b26284437f27d50 100644 (file)
@@ -75,6 +75,9 @@ struct clk_divider {
        u8              width;
        u8              flags;
        const struct clk_div_table      *table;
+#if CONFIG_IS_ENABLED(SANDBOX_CLK_CCF)
+       u32             io_divider_val;
+#endif
 };
 
 #define clk_div_mask(width)    ((1 << (width)) - 1)