diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-04 12:40:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:30:28 -0700 |
commit | 8691b97b99d8b0ba7427afde1a50695cc4112938 (patch) | |
tree | ab55b4e8486bab2cad73bdd9c5f8f49ac979a27c /Documentation | |
parent | 5888fd30ac70fa50f08979c46f9206d01ca6ad49 (diff) | |
download | linux-8691b97b99d8b0ba7427afde1a50695cc4112938.tar.gz linux-8691b97b99d8b0ba7427afde1a50695cc4112938.tar.bz2 linux-8691b97b99d8b0ba7427afde1a50695cc4112938.zip |
uml: remove driver_data direct access of struct device
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device. Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used. These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions