aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/remoteproc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index f1ffabb978d3..7f806dcf5278 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -369,7 +369,7 @@ enum rproc_state {
369 * @firmware: name of firmware file to be loaded 369 * @firmware: name of firmware file to be loaded
370 * @priv: private data which belongs to the platform-specific rproc module 370 * @priv: private data which belongs to the platform-specific rproc module
371 * @ops: platform-specific start/stop rproc handlers 371 * @ops: platform-specific start/stop rproc handlers
372 * @dev: underlying device 372 * @dev: virtual device for refcounting and common remoteproc behavior
373 * @refcount: refcount of users that have a valid pointer to this rproc 373 * @refcount: refcount of users that have a valid pointer to this rproc
374 * @power: refcount of users who need this rproc powered up 374 * @power: refcount of users who need this rproc powered up
375 * @state: state of the device 375 * @state: state of the device
@@ -383,6 +383,7 @@ enum rproc_state {
383 * @bootaddr: address of first instruction to boot rproc with (optional) 383 * @bootaddr: address of first instruction to boot rproc with (optional)
384 * @rvdevs: list of remote virtio devices 384 * @rvdevs: list of remote virtio devices
385 * @notifyids: idr for dynamically assigning rproc-wide unique notify ids 385 * @notifyids: idr for dynamically assigning rproc-wide unique notify ids
386 * @index: index of this rproc device
386 */ 387 */
387struct rproc { 388struct rproc {
388 struct klist_node node; 389 struct klist_node node;
@@ -391,7 +392,7 @@ struct rproc {
391 const char *firmware; 392 const char *firmware;
392 void *priv; 393 void *priv;
393 const struct rproc_ops *ops; 394 const struct rproc_ops *ops;
394 struct device *dev; 395 struct device dev;
395 struct kref refcount; 396 struct kref refcount;
396 atomic_t power; 397 atomic_t power;
397 unsigned int state; 398 unsigned int state;
@@ -405,6 +406,7 @@ struct rproc {
405 u32 bootaddr; 406 u32 bootaddr;
406 struct list_head rvdevs; 407 struct list_head rvdevs;
407 struct idr notifyids; 408 struct idr notifyids;
409 int index;
408}; 410};
409 411
410/* we currently support only two vrings per rvdev */ 412/* we currently support only two vrings per rvdev */