Hi Tvrtko, [...] > > +static ssize_t act_freq_mhz_show(struct device *dev, > > + struct device_attribute *attr, char *buff) > > +{ > > + u32 actual_freq = sysfs_gt_attribute_r_max_func(dev, attr, > > + __act_freq_mhz_show); > > Because sysfs_gt_attribute_r_max_func is only defined if CONFIG_PM is set, > the !CONFIG_PM builds are broken. I guess just move it to be always > available. oh, right! Thanks for letting me know, will fix it. Thanks, Andi