summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu_domain.c
diff options
context:
space:
mode:
authorChi Pham <fempsci@gmail.com>2014-07-03 15:03:01 +0200
committerJoerg Roedel <jroedel@suse.de>2014-07-04 13:21:49 +0200
commitf683367ebd2d90a052d07e9b6787ddfb63a04239 (patch)
tree9181f43281601d701343d703ad4045c099c19e10 /drivers/iommu/fsl_pamu_domain.c
parentiommu/fsl_pamu: Remove unnecessary null test before kfree (diff)
downloadlinux-f683367ebd2d90a052d07e9b6787ddfb63a04239.tar.xz
linux-f683367ebd2d90a052d07e9b6787ddfb63a04239.zip
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/fsl_pamu_domain.c')
-rw-r--r--drivers/iommu/fsl_pamu_domain.c2
1 files changed, 1 insertions, 1 deletions
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 = {
.remove_device = fsl_pamu_remove_device,
};
-int pamu_domain_init()
+int pamu_domain_init(void)
{
int ret = 0;