]> git.baikalelectronics.ru Git - kernel.git/commit
Driver core: move the driver specific module code into the driver core
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 20:23:18 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:35 +0000 (20:40 -0800)
commitd096451c51c37894f705c803f589a582a277ce79
tree7d54c8741aec9d71864203ce430d289d40c4c975
parentd603a8881d9e53e93508e68762423c105b3a3191
Driver core: move the driver specific module code into the driver core

The module driver specific code should belong in the driver core, not in
the kernel/ directory.  So move this code.  This is done in preparation
for some struct device_driver rework that should be confined to the
driver core code only.

This also lets us keep from exporting these functions, as no external
code should ever be calling it.

Thanks to Andrew Morton for the !CONFIG_MODULES fix.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/Makefile
drivers/base/base.h
drivers/base/module.c [new file with mode: 0644]
include/linux/module.h
kernel/module.c