qcom: llcc/edac: Fix the base address used for accessing LLCC banks
[platform/kernel/linux-starfive.git] / include / linux / soc / qcom / llcc-qcom.h
index bc2fb83..dfa5706 100644 (file)
@@ -108,7 +108,7 @@ struct llcc_edac_reg_offset {
 
 /**
  * struct llcc_drv_data - Data associated with the llcc driver
- * @regmap: regmap associated with the llcc device
+ * @regmaps: regmaps associated with the llcc device
  * @bcast_regmap: regmap associated with llcc broadcast offset
  * @cfg: pointer to the data structure for slice configuration
  * @edac_reg_offset: Offset of the LLCC EDAC registers
@@ -117,12 +117,11 @@ struct llcc_edac_reg_offset {
  * @max_slices: max slices as read from device tree
  * @num_banks: Number of llcc banks
  * @bitmap: Bit map to track the active slice ids
- * @offsets: Pointer to the bank offsets array
  * @ecc_irq: interrupt for llcc cache error detection and reporting
  * @version: Indicates the LLCC version
  */
 struct llcc_drv_data {
-       struct regmap *regmap;
+       struct regmap **regmaps;
        struct regmap *bcast_regmap;
        const struct llcc_slice_config *cfg;
        const struct llcc_edac_reg_offset *edac_reg_offset;
@@ -131,7 +130,6 @@ struct llcc_drv_data {
        u32 max_slices;
        u32 num_banks;
        unsigned long *bitmap;
-       u32 *offsets;
        int ecc_irq;
        u32 version;
 };