]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: search key: move builtin detection under the add function
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Wed, 23 Nov 2016 15:23:38 +0000 (17:23 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 May 2017 07:01:50 +0000 (00:01 -0700)
commit0d6b3f9beaea031c445dc6bd125d0229f142718b
tree4a9044a90629cc0680a6b7d507c8a147c566c54c
parentcd019a39eadf7d30de87179fddb283ff14566eae
depmod: search key: move builtin detection under the add function

Prepare to implement external directories support.

It's better to isolate behaviour difference under the
cfg_search_add() call, then make the client code aware of it.

In case of external modules/directories support, there will be
one more keyword added, so making the clients aware of it makes
even less sense.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
tools/depmod.c