]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 6 Oct 2011 18:10:19 +0000 (14:10 -0400)
commit5ba428bc74cf0d888f9f20d605080aaa838c0819
tree4e47121642d7a466bbfe4b286c405c7df2e78547
parent5d8a5de124b372309bd5316074ef15f79a3e0c13
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 523ded71de0c5e669733.

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