coresight: Reuse platform data structure for connection tracking
[linux-2.6-microblaze.git] / include / linux / coresight.h
index 298db20..b67d507 100644 (file)
@@ -140,9 +140,7 @@ struct coresight_connection {
 
 /**
  * struct coresight_device - representation of a device as used by the framework
- * @conns:     array of coresight_connections associated to this component.
- * @nr_inport: number of input port associated to this component.
- * @nr_outport:        number of output port associated to this component.
+ * @pdata:     Platform data with device connections associated to this device.
  * @type:      as defined by @coresight_dev_type.
  * @subtype:   as defined by @coresight_dev_subtype.
  * @ops:       generic operations for this component, as defined
@@ -157,9 +155,7 @@ struct coresight_connection {
  * @ea:                Device attribute for sink representation under PMU directory.
  */
 struct coresight_device {
-       struct coresight_connection *conns;
-       int nr_inport;
-       int nr_outport;
+       struct coresight_platform_data *pdata;
        enum coresight_dev_type type;
        union coresight_dev_subtype subtype;
        const struct coresight_ops *ops;