diff options
author | Chi Pham <fempsci@gmail.com> | 2014-07-03 09:03:01 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-04 07:21:49 -0400 |
commit | f683367ebd2d90a052d07e9b6787ddfb63a04239 (patch) | |
tree | 9181f43281601d701343d703ad4045c099c19e10 /drivers/iommu | |
parent | 34df6ab7956a18a2ff7f1bb15d5e9b966602a93b (diff) |
iommu/fsl: Add void declarations in zero-arg functions.
Added explicit void declarations to zero-argument function headers.
The following coccinelle script was used:
@addvoid@
identifier f;
@@
f(
+ void
) { ... }
Signed-off-by: Chi Pham <fempsci@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/fsl_pamu.c | 2 | ||||
-rw-r--r-- | drivers/iommu/fsl_pamu_domain.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index b99dd88e31b9..5c9b42494bc4 100644 --- a/drivers/iommu/fsl_pamu.c +++ b/drivers/iommu/fsl_pamu.c | |||
@@ -92,7 +92,7 @@ struct gen_pool *spaace_pool; | |||
92 | * subwindow count per liodn. | 92 | * subwindow count per liodn. |
93 | * | 93 | * |
94 | */ | 94 | */ |
95 | u32 pamu_get_max_subwin_cnt() | 95 | u32 pamu_get_max_subwin_cnt(void) |
96 | { | 96 | { |
97 | return max_subwindow_count; | 97 | return max_subwindow_count; |
98 | } | 98 | } |
diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers/iommu/fsl_pamu_domain.c index 0009dffe8000..8f42e8ec4d76 100644 --- a/drivers/iommu/fsl_pamu_domain.c +++ b/drivers/iommu/fsl_pamu_domain.c | |||
@@ -1156,7 +1156,7 @@ static struct iommu_ops fsl_pamu_ops = { | |||
1156 | .remove_device = fsl_pamu_remove_device, | 1156 | .remove_device = fsl_pamu_remove_device, |
1157 | }; | 1157 | }; |
1158 | 1158 | ||
1159 | int pamu_domain_init() | 1159 | int pamu_domain_init(void) |
1160 | { | 1160 | { |
1161 | int ret = 0; | 1161 | int ret = 0; |
1162 | 1162 | ||