diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-30 14:43:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:30:27 -0700 |
commit | f3e7a7b64a79a3d82835ce83fb32616df762d456 (patch) | |
tree | b0879a9a7ba01ac4f0d7f55ddab891efee0af659 /net/compat.c | |
parent | 8952f593ea66bff4a30f9e641dc6c79832ca64cf (diff) | |
download | linux-stable-f3e7a7b64a79a3d82835ce83fb32616df762d456.tar.gz linux-stable-f3e7a7b64a79a3d82835ce83fb32616df762d456.tar.bz2 linux-stable-f3e7a7b64a79a3d82835ce83fb32616df762d456.zip |
pcmcia: 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: linux-pcmcia@lists.infradead.org
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions