Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linux
[sfrench/cifs-2.6.git] / include / linux / device.h
index fb9451599aca948082a7a194556a7f5272f05115..9d32000725da8452fdac148700c16315715bec07 100644 (file)
@@ -97,6 +97,8 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
  * @p:         The private data of the driver core, only the driver core can
  *             touch this.
  * @lock_key:  Lock class key for use by the lock validator
+ * @force_dma: Assume devices on this bus should be set up by dma_configure()
+ *             even if DMA capability is not explicitly described by firmware.
  *
  * A bus is a channel between the processor and one or more devices. For the
  * purposes of the device model, all devices are connected via a bus, even if
@@ -135,6 +137,8 @@ struct bus_type {
 
        struct subsys_private *p;
        struct lock_class_key lock_key;
+
+       bool force_dma;
 };
 
 extern int __must_check bus_register(struct bus_type *bus);