> struct cxl_root_decoder *cxlrd; > > if (!is_root_decoder(dev)) > @@ -3189,11 +3192,11 @@ static int match_root_decoder_by_range(struct device *dev, void *data) > return range_contains(r1, r2); > } > > -static int match_region_by_range(struct device *dev, void *data) > +static int match_region_by_range(struct device *dev, const void *data) > { > struct cxl_region_params *p; > struct cxl_region *cxlr; > - struct range *r = data; > + const struct range *r = data; > int rc = 0; >