diff options
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index b093405ed525..abf952c82c6d 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -769,6 +769,7 @@ enum device_link_state { | |||
| 769 | * @status: The state of the link (with respect to the presence of drivers). | 769 | * @status: The state of the link (with respect to the presence of drivers). |
| 770 | * @flags: Link flags. | 770 | * @flags: Link flags. |
| 771 | * @rpm_active: Whether or not the consumer device is runtime-PM-active. | 771 | * @rpm_active: Whether or not the consumer device is runtime-PM-active. |
| 772 | * @kref: Count repeated addition of the same link. | ||
| 772 | * @rcu_head: An RCU head to use for deferred execution of SRCU callbacks. | 773 | * @rcu_head: An RCU head to use for deferred execution of SRCU callbacks. |
| 773 | */ | 774 | */ |
| 774 | struct device_link { | 775 | struct device_link { |
| @@ -779,6 +780,7 @@ struct device_link { | |||
| 779 | enum device_link_state status; | 780 | enum device_link_state status; |
| 780 | u32 flags; | 781 | u32 flags; |
| 781 | bool rpm_active; | 782 | bool rpm_active; |
| 783 | struct kref kref; | ||
| 782 | #ifdef CONFIG_SRCU | 784 | #ifdef CONFIG_SRCU |
| 783 | struct rcu_head rcu_head; | 785 | struct rcu_head rcu_head; |
| 784 | #endif | 786 | #endif |
