diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-05 10:41:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:30:28 -0700 |
commit | 5888fd30ac70fa50f08979c46f9206d01ca6ad49 (patch) | |
tree | 12319e3dc293a668972da4573ef2f9ab960f10c2 /drivers/net/stnic.c | |
parent | dff59b64af94dc588044d70f3708cb835055c5b6 (diff) |
block/ps3: 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.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/stnic.c')
0 files changed, 0 insertions, 0 deletions