projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197887f
)
iommu/amd: Move add_special_device() to __init
author
Joerg Roedel
<joro@8bytes.org>
Tue, 9 Apr 2013 15:32:34 +0000
(17:32 +0200)
committer
Joerg Roedel
<joro@8bytes.org>
Fri, 19 Apr 2013 18:46:18 +0000
(20:46 +0200)
The function is only called by other __init functions, so it
can be moved to __init too.
Reviewed-by: Shuah Khan <shuahkhan@gmail.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu_init.c
b/drivers/iommu/amd_iommu_init.c
index e3c2d74b7684596790fd0293461dc74922a850ba..ea94ee6449893555414ca159dbc4bf733d3084fe 100644
(file)
--- a/
drivers/iommu/amd_iommu_init.c
+++ b/
drivers/iommu/amd_iommu_init.c
@@
-703,7
+703,7
@@
static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu,
set_iommu_for_device(iommu, devid);
}
-static int add_special_device(u8 type, u8 id, u16 devid)
+static int
__init
add_special_device(u8 type, u8 id, u16 devid)
{
struct devid_map *entry;
struct list_head *list;