diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-30 10:45:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-21 10:15:37 -0700 |
commit | c906a48adc74fc455378137ac5124b13e7030a15 (patch) | |
tree | bcbbebf937f74e0e123517dd9d2c1742d61dd3fc /include/linux/device.h | |
parent | 3b98aeaf3a75f544dc945694f4fcf6e1c4bab89d (diff) | |
download | linux-stable-c906a48adc74fc455378137ac5124b13e7030a15.tar.gz linux-stable-c906a48adc74fc455378137ac5124b13e7030a15.tar.bz2 linux-stable-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/linux/device.h')
-rw-r--r-- | include/linux/device.h | 1 |
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; |