diff options
author | Dmitry Safonov <dima@arista.com> | 2018-02-12 16:48:20 +0000 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-02-13 17:40:53 +0100 |
commit | d15a339eaca6fd6eb00ebc36edf3c289b65000fe (patch) | |
tree | af07df5a02f0ec1994711d609467778e9380a3ca /drivers/iommu | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | talos-op-linux-d15a339eaca6fd6eb00ebc36edf3c289b65000fe.tar.gz talos-op-linux-d15a339eaca6fd6eb00ebc36edf3c289b65000fe.zip |
iommu/vt-d: Add __init for dmar_register_bus_notifier()
It's called only from intel_iommu_init(), which is init function.
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/dmar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 9a7ffd13c7f0..accf58388bdb 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/dmar.c @@ -806,7 +806,7 @@ int __init dmar_dev_scope_init(void) return dmar_dev_scope_status; } -void dmar_register_bus_notifier(void) +void __init dmar_register_bus_notifier(void) { bus_register_notifier(&pci_bus_type, &dmar_pci_bus_nb); } |