so we can re-use this function in dkms.eclass.

Signed-off-by: Nowa Ammerlaan <n...@gentoo.org>
---
 eclass/linux-mod-r1.eclass | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index fd83324fa35d..d736f48d679e 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -625,7 +625,7 @@ modules_post_process() {
        # dracut omit files that *hopefully* prevent this
 #      _modules_process_depmod.d "${mods[@]##*/}"
 
-       _modules_process_dracut.conf.d "${mods[@]##*/}"
+       modules_process_dracut.conf.d "${mods[@]##*/}"
        _modules_process_strip "${mods[@]}"
        _modules_process_sign "${mods[@]}"
        _modules_sanity_modversion "${mods[@]}" # after strip/sign in case 
broke it
@@ -967,13 +967,12 @@ _modules_process_depmod.d() {
        )
 }
 
-# @FUNCTION: _modules_process_dracut.conf.d
+# @FUNCTION: modules_process_dracut.conf.d
 # @USAGE: <module>...
-# @INTERNAL
 # @DESCRIPTION:
 # Create dracut.conf.d snippet defining if module should be included in the
 # initramfs.
-_modules_process_dracut.conf.d() {
+modules_process_dracut.conf.d() {
        (
                insinto /usr/lib/dracut/dracut.conf.d
                [[ ${MODULES_INITRAMFS_IUSE} ]] && use 
${MODULES_INITRAMFS_IUSE#+} &&
-- 
2.48.1


Reply via email to