Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f683367e authored by Chi Pham's avatar Chi Pham Committed by Joerg Roedel
Browse files

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: default avatarChi Pham <fempsci@gmail.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 34df6ab7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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;