summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-30 10:45:12 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-21 10:15:37 -0700
commitc906a48adc74fc455378137ac5124b13e7030a15 (patch)
treebcbbebf937f74e0e123517dd9d2c1742d61dd3fc /include
parent3b98aeaf3a75f544dc945694f4fcf6e1c4bab89d (diff)
downloadlinux-c906a48adc74fc455378137ac5124b13e7030a15.tar.bz2
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;