On 2/22/2025 6:55 PM, Krzysztof Kozlowski wrote:
On 21/02/2025 08:40, Yuanfang Zhang wrote:
+static ssize_t flag_type_show(struct device *dev,
struct device_attribute *attr,
char *buf)
+{
- struct trace_noc_drvdata *drvdata = dev_get_drvdata(dev->parent);
- return sysfs_emit(buf, "%u\n", drvdata->flag_type);
+} +static DEVICE_ATTR_RW(flag_type);
static struct attribute *trace_noc_attrs[] = { &dev_attr_flush_req.attr, &dev_attr_flush_status.attr,
- &dev_attr_flag_type.attr,
Where is the ABI documentation?
will update in V3.
Best regards, Krzysztof