diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 055a69dbcd18..e80920452b49 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -90,7 +90,7 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *); | |||
90 | * @num_vf: Called to find out how many virtual functions a device on this | 90 | * @num_vf: Called to find out how many virtual functions a device on this |
91 | * bus supports. | 91 | * bus supports. |
92 | * @dma_configure: Called to setup DMA configuration on a device on | 92 | * @dma_configure: Called to setup DMA configuration on a device on |
93 | this bus. | 93 | * this bus. |
94 | * @pm: Power management operations of this bus, callback the specific | 94 | * @pm: Power management operations of this bus, callback the specific |
95 | * device driver's pm-ops. | 95 | * device driver's pm-ops. |
96 | * @iommu_ops: IOMMU specific operations for this bus, used to attach IOMMU | 96 | * @iommu_ops: IOMMU specific operations for this bus, used to attach IOMMU |
@@ -784,14 +784,16 @@ enum device_link_state { | |||
784 | * Device link flags. | 784 | * Device link flags. |
785 | * | 785 | * |
786 | * STATELESS: The core won't track the presence of supplier/consumer drivers. | 786 | * STATELESS: The core won't track the presence of supplier/consumer drivers. |
787 | * AUTOREMOVE: Remove this link automatically on consumer driver unbind. | 787 | * AUTOREMOVE_CONSUMER: Remove the link automatically on consumer driver unbind. |
788 | * PM_RUNTIME: If set, the runtime PM framework will use this link. | 788 | * PM_RUNTIME: If set, the runtime PM framework will use this link. |
789 | * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation. | 789 | * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation. |
790 | * AUTOREMOVE_SUPPLIER: Remove the link automatically on supplier driver unbind. | ||
790 | */ | 791 | */ |
791 | #define DL_FLAG_STATELESS BIT(0) | 792 | #define DL_FLAG_STATELESS BIT(0) |
792 | #define DL_FLAG_AUTOREMOVE BIT(1) | 793 | #define DL_FLAG_AUTOREMOVE_CONSUMER BIT(1) |
793 | #define DL_FLAG_PM_RUNTIME BIT(2) | 794 | #define DL_FLAG_PM_RUNTIME BIT(2) |
794 | #define DL_FLAG_RPM_ACTIVE BIT(3) | 795 | #define DL_FLAG_RPM_ACTIVE BIT(3) |
796 | #define DL_FLAG_AUTOREMOVE_SUPPLIER BIT(4) | ||
795 | 797 | ||
796 | /** | 798 | /** |
797 | * struct device_link - Device link representation. | 799 | * struct device_link - Device link representation. |