diff options
author | Pankaj Dubey <pankaj.dubey@samsung.com> | 2014-11-13 03:42:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 22:28:11 -0500 |
commit | 8ee885a98e2653a7f9c84d37cd8c5b6edf21b77f (patch) | |
tree | a046e552fcb784ecad1951c2c3a1565b571ab17f | |
parent | 84b763d5b808ee6c23d95314ac81859cab471adb (diff) |
coresight: fixed comments in coresight.h
fixes following minor issues in code comments in coresight.h
- typo %s/enpoint/endpoint
- alignment of comment section for struct coresight_desc
- correction of comment for struct coresight_connection and
struct coresight_device.
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/coresight.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index bdde4199c74a..5d3c54311f7a 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h | |||
@@ -87,7 +87,7 @@ struct coresight_dev_subtype { | |||
87 | * @cpu: the CPU a source belongs to. Only applicable for ETM/PTMs. | 87 | * @cpu: the CPU a source belongs to. Only applicable for ETM/PTMs. |
88 | * @name: name of the component as shown under sysfs. | 88 | * @name: name of the component as shown under sysfs. |
89 | * @nr_inport: number of input ports for this component. | 89 | * @nr_inport: number of input ports for this component. |
90 | * @outports: list of remote enpoint port number. | 90 | * @outports: list of remote endpoint port number. |
91 | * @child_names:name of all child components connected to this device. | 91 | * @child_names:name of all child components connected to this device. |
92 | * @child_ports:child component port number the current component is | 92 | * @child_ports:child component port number the current component is |
93 | connected to. | 93 | connected to. |
@@ -113,7 +113,7 @@ struct coresight_platform_data { | |||
113 | by @coresight_ops. | 113 | by @coresight_ops. |
114 | * @pdata: platform data collected from DT. | 114 | * @pdata: platform data collected from DT. |
115 | * @dev: The device entity associated to this component. | 115 | * @dev: The device entity associated to this component. |
116 | * @groups :operations specific to this component. These will end up | 116 | * @groups: operations specific to this component. These will end up |
117 | in the component's sysfs sub-directory. | 117 | in the component's sysfs sub-directory. |
118 | */ | 118 | */ |
119 | struct coresight_desc { | 119 | struct coresight_desc { |
@@ -127,7 +127,6 @@ struct coresight_desc { | |||
127 | 127 | ||
128 | /** | 128 | /** |
129 | * struct coresight_connection - representation of a single connection | 129 | * struct coresight_connection - representation of a single connection |
130 | * @ref_count: keeping count a port' references. | ||
131 | * @outport: a connection's output port number. | 130 | * @outport: a connection's output port number. |
132 | * @chid_name: remote component's name. | 131 | * @chid_name: remote component's name. |
133 | * @child_port: remote component's port number @output is connected to. | 132 | * @child_port: remote component's port number @output is connected to. |
@@ -143,6 +142,7 @@ struct coresight_connection { | |||
143 | 142 | ||
144 | /** | 143 | /** |
145 | * struct coresight_device - representation of a device as used by the framework | 144 | * struct coresight_device - representation of a device as used by the framework |
145 | * @conns: array of coresight_connections associated to this component. | ||
146 | * @nr_inport: number of input port associated to this component. | 146 | * @nr_inport: number of input port associated to this component. |
147 | * @nr_outport: number of output port associated to this component. | 147 | * @nr_outport: number of output port associated to this component. |
148 | * @type: as defined by @coresight_dev_type. | 148 | * @type: as defined by @coresight_dev_type. |