Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-25 | Driver core: move the static kobject out of struct driver | Greg Kroah-Hartman | |
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> | |||
2008-01-25 | Driver core: move the driver specific module code into the driver core | Greg Kroah-Hartman | |
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> |