diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-04 19:40:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 04:30:28 (GMT) |
commit | 8691b97b99d8b0ba7427afde1a50695cc4112938 (patch) | |
tree | ab55b4e8486bab2cad73bdd9c5f8f49ac979a27c /drivers/gpio/bt8xxgpio.c | |
parent | 5888fd30ac70fa50f08979c46f9206d01ca6ad49 (diff) | |
download | linux-fsl-qoriq-8691b97b99d8b0ba7427afde1a50695cc4112938.tar.xz |
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 'drivers/gpio/bt8xxgpio.c')
0 files changed, 0 insertions, 0 deletions