]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Driver core: move the static kobject out of struct driver
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 23:59:15 +0000 (15:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:35 +0000 (20:40 -0800)
commite5dd12784617f0f1fae5f96a7fac1ec4c49fadbe
treec81e2a2f3aa1c60b92951d398774f1391bdc6a1c
parentc63469a3985a9771c18a916b8d42845d044ea0b1
Driver core: move the static kobject out of struct driver

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>
drivers/base/base.h
drivers/base/bus.c
drivers/base/dd.c
drivers/base/driver.c
drivers/base/module.c
drivers/base/platform.c
include/linux/device.h