io-mapping: move some code within the include guarded section
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 27 Nov 2022 16:07:32 +0000 (17:07 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Dec 2022 03:30:19 +0000 (19:30 -0800)
commiteca36e43ee63114468e41a778b33b6886b9c5f6a
treea128b254e800ee03fd8842fc946e770260c0361c
parent6fcd4267a840d0536b8e5334ad5f31e4105fce85
io-mapping: move some code within the include guarded section

It is spurious to have some code out-side the include guard in a .h file.
Fix it.

Link: https://lkml.kernel.org/r/4dbaf427d4300edba6c6bbfaf4d57493b9bec6ee.1669565241.git.christophe.jaillet@wanadoo.fr
Fixes: 1fbaf8fc12a0 ("mm: add a io_mapping_map_user helper")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/io-mapping.h