diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-05-28 19:41:45 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-06-11 10:42:24 +0300 |
commit | 3a18404cd952ae529651f72a13e5d6ffee824c2e (patch) | |
tree | f79fa73b3d88281a5525f96954fae14da93ee945 /drivers/iommu/amd_iommu_proto.h | |
parent | 2870b0a4911038fd6aed9093cda2dbe80fd0ee2e (diff) | |
download | linux-3a18404cd952ae529651f72a13e5d6ffee824c2e.tar.xz |
iommu/amd: Propagate errors from amd_iommu_init_api
This function can fail. Propagate any errors back to the
initialization state machine.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_proto.h')
-rw-r--r-- | drivers/iommu/amd_iommu_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu_proto.h b/drivers/iommu/amd_iommu_proto.h index 72b0fd455e24..9ed1c4330551 100644 --- a/drivers/iommu/amd_iommu_proto.h +++ b/drivers/iommu/amd_iommu_proto.h @@ -30,7 +30,7 @@ extern void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu); extern int amd_iommu_init_devices(void); extern void amd_iommu_uninit_devices(void); extern void amd_iommu_init_notifier(void); -extern void amd_iommu_init_api(void); +extern int amd_iommu_init_api(void); /* Needed for interrupt remapping */ extern int amd_iommu_prepare(void); |