Merge tag 'rtc-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-2.6-microblaze.git] / include / linux / coresight.h
index 46c67a7..7b87965 100644 (file)
@@ -154,8 +154,9 @@ struct coresight_connection {
  * @orphan:    true if the component has connections that haven't been linked.
  * @enable:    'true' if component is currently part of an active path.
  * @activated: 'true' only if a _sink_ has been activated.  A sink can be
-               activated but not yet enabled.  Enabling for a _sink_
-               happens when a source has been selected for that it.
+ *             activated but not yet enabled.  Enabling for a _sink_
+ *             appens when a source has been selected for that it.
+ * @ea:                Device attribute for sink representation under PMU directory.
  */
 struct coresight_device {
        struct coresight_connection *conns;
@@ -168,7 +169,9 @@ struct coresight_device {
        atomic_t *refcnt;
        bool orphan;
        bool enable;    /* true only if configured as part of a path */
+       /* sink specific fields */
        bool activated; /* true only if a sink is part of a path */
+       struct dev_ext_attribute *ea;
 };
 
 #define to_coresight_device(d) container_of(d, struct coresight_device, dev)