Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Driver core: move the static kobject out of struct driver | Greg Kroah-Hartman | 2008-01-24 |
| | | | | | | | | | | This patch removes the kobject, and a few other driver-core-only fields out of struct driver and into the driver core only. Now drivers can be safely create on the stack or statically (like they currently are.) Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | ||
* | Driver core: move the driver specific module code into the driver core | Greg Kroah-Hartman | 2008-01-24 |
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> |