diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-15 16:44:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-20 16:31:53 -0400 |
commit | 8882b39421bae317e3ee864edd845e994307ce16 (patch) | |
tree | cef24e2a04ad6716d37af2fabfe5f0a72dfe44b7 /mm/backing-dev.c | |
parent | c110a2bd82676a8f124cf4dfc39339fd366f0e59 (diff) |
Driver core: add device_create_vargs and device_create_drvdata
We want to have the drvdata field set properly when creating the device
as sysfs callbacks can assume it is present and it can race the later
setting of this field.
So, create two new functions, deviec_create_vargs() and
device_create_drvdata() that take this new field.
device_create_drvdata() will go away in 2.6.27 as the drvdata field will
just be moved to the device_create() call as it should be.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions