diff options
author | Nishanth Menon <nm@ti.com> | 2013-03-26 14:01:49 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-05 08:22:59 -0400 |
commit | cd787b345e82f7ea9c29d22c50cca29fadc53d76 (patch) | |
tree | 9d672b56a549cee851312a3a9fcdc68df411bfff /drivers | |
parent | c26b78a2d826a89cd689527493a2bea22af46133 (diff) |
PM / OPP: add documentation to RCU head in struct opp
commit dde8437 (PM / OPP: RCU reclaim) introduced rcu_head for
struct opp. This aids freeing using kfree_rcu. However, we missed
adding documentation for the same. This generates kernel doc warning:
Warning(drivers/base/power/opp.c:70): No description found for
parameter 'head'
Add documentation as appropriate.
[rjw: Changelog]
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/power/opp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 32ee0fc7ea54..f0077cb8e249 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c | |||
@@ -55,6 +55,7 @@ | |||
55 | * @rate: Frequency in hertz | 55 | * @rate: Frequency in hertz |
56 | * @u_volt: Nominal voltage in microvolts corresponding to this OPP | 56 | * @u_volt: Nominal voltage in microvolts corresponding to this OPP |
57 | * @dev_opp: points back to the device_opp struct this opp belongs to | 57 | * @dev_opp: points back to the device_opp struct this opp belongs to |
58 | * @head: RCU callback head used for deferred freeing | ||
58 | * | 59 | * |
59 | * This structure stores the OPP information for a given device. | 60 | * This structure stores the OPP information for a given device. |
60 | */ | 61 | */ |