diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-30 14:19:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-02 00:21:55 +0200 |
commit | 1aec5bdfed91b50aedbcad43393bcb05033c7ef3 (patch) | |
tree | 258db4a51298bc18f859170e8d611a8e3b406b0f /drivers/net/pcmcia | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
download | linux-1aec5bdfed91b50aedbcad43393bcb05033c7ef3.tar.xz linux-1aec5bdfed91b50aedbcad43393bcb05033c7ef3.zip |
net: 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: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pcmcia')
0 files changed, 0 insertions, 0 deletions