diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-30 23:43:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 06:30:27 +0200 |
commit | 8952f593ea66bff4a30f9e641dc6c79832ca64cf (patch) | |
tree | 9c77ebad4a513f4fdaea7e22c8cc822ae58c7ff5 /drivers/pcmcia | |
parent | mfd: remove driver_data direct access of struct device (diff) | |
download | linux-8952f593ea66bff4a30f9e641dc6c79832ca64cf.tar.xz linux-8952f593ea66bff4a30f9e641dc6c79832ca64cf.zip |
PCIE: 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-pci@vger.kernel.org
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions