]> git.baikalelectronics.ru Git - kernel.git/commit
ip_vs.h: fix implicit use of module_get/module_put from module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Aug 2011 16:40:15 +0000 (12:40 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:34 +0000 (19:32 -0400)
commit7cb70741024a217bb0c5a43303f9685e1d638e7e
treeeb3ac23820052da46982c1ea1a818fb949d9838f
parenta73df6f597156f20ae1ce88c08e1453e42e47471
ip_vs.h: fix implicit use of module_get/module_put from module.h

This file was using the module get/put functions in two simple inline
functions.  But module_get/put were only within scope because of
the implicit presence of module.h being everywhere.

Rather than add module.h to another file in include/  -- which is
exactly the thing we are trying to avoid, simply convert these
one-line functions into a define, as per what was done for the
device_schedule_callback() in commit 747dfb6ff6588c5d8122.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/net/ip_vs.h