OSDN Git Service

module.h: relocate MODULE_PARM_DESC into moduleparam.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 30 Aug 2011 15:24:44 +0000 (11:24 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 13:20:11 +0000 (09:20 -0400)
commit639938eb606e94af498c589feae2f0b8a5c285d1
tree30c9025fa85ab7d9db09bd84109e2036218a8157
parentf50169324df4ad942e544386d136216c8617636a
module.h: relocate MODULE_PARM_DESC into moduleparam.h

There are files which use module_param and MODULE_PARM_DESC
back to back.  They only include moduleparam.h which makes sense,
but the implicit presence of module.h everywhere hid the fact
that MODULE_PARM_DESC wasn't in moduleparam.h at all.  Relocate
the macro to moduleparam.h so that the moduleparam infrastructure
can be used independently of module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/module.h
include/linux/moduleparam.h