summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-30 19:45:12 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-21 19:15:37 +0200
commitc906a48adc74fc455378137ac5124b13e7030a15 (patch)
treebcbbebf937f74e0e123517dd9d2c1742d61dd3fc /include
parentPM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is... (diff)
downloadlinux-c906a48adc74fc455378137ac5124b13e7030a15.tar.xz
linux-c906a48adc74fc455378137ac5124b13e7030a15.zip
driver core: add init_name to struct device
This gives us a way to handle both the bus_id and init_name values being used for a while during the transition period. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index a701c1b5184c..4d8372d135df 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -358,6 +358,7 @@ struct device {
struct kobject kobj;
char bus_id[BUS_ID_SIZE]; /* position on parent bus */
+ const char *init_name; /* initial name of the device */
struct device_type *type;
unsigned uevent_suppress:1;