Skip to content

Commit

Permalink
iommu/fsl: Add void declarations in zero-arg functions.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
Chi Pham authored and joergroedel committed Jul 4, 2014
1 parent 34df6ab commit f683367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/iommu/fsl_pamu.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ struct gen_pool *spaace_pool;
* subwindow count per liodn.
*
*/
u32 pamu_get_max_subwin_cnt()
u32 pamu_get_max_subwin_cnt(void)
{
return max_subwindow_count;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/iommu/fsl_pamu_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f683367

Please sign in to comment.