iommu/io-pgtable-arm: Move init-fn declarations to io-pgtable.h
Avoid extern declarations in c files. Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
f968393161
commit
2e169bb3cc
|
@ -24,11 +24,6 @@
|
||||||
|
|
||||||
#include "io-pgtable.h"
|
#include "io-pgtable.h"
|
||||||
|
|
||||||
extern struct io_pgtable_init_fns io_pgtable_arm_32_lpae_s1_init_fns;
|
|
||||||
extern struct io_pgtable_init_fns io_pgtable_arm_32_lpae_s2_init_fns;
|
|
||||||
extern struct io_pgtable_init_fns io_pgtable_arm_64_lpae_s1_init_fns;
|
|
||||||
extern struct io_pgtable_init_fns io_pgtable_arm_64_lpae_s2_init_fns;
|
|
||||||
|
|
||||||
static const struct io_pgtable_init_fns *
|
static const struct io_pgtable_init_fns *
|
||||||
io_pgtable_init_table[IO_PGTABLE_NUM_FMTS] =
|
io_pgtable_init_table[IO_PGTABLE_NUM_FMTS] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -143,4 +143,9 @@ struct io_pgtable_init_fns {
|
||||||
void (*free)(struct io_pgtable *iop);
|
void (*free)(struct io_pgtable *iop);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern struct io_pgtable_init_fns io_pgtable_arm_32_lpae_s1_init_fns;
|
||||||
|
extern struct io_pgtable_init_fns io_pgtable_arm_32_lpae_s2_init_fns;
|
||||||
|
extern struct io_pgtable_init_fns io_pgtable_arm_64_lpae_s1_init_fns;
|
||||||
|
extern struct io_pgtable_init_fns io_pgtable_arm_64_lpae_s2_init_fns;
|
||||||
|
|
||||||
#endif /* __IO_PGTABLE_H */
|
#endif /* __IO_PGTABLE_H */
|
||||||
|
|
Loading…
Reference in a new issue