Skip to content
Commit c63469a3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cbe9c595
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment