diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-05 04:41:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:30:28 -0400 |
commit | 5888fd30ac70fa50f08979c46f9206d01ca6ad49 (patch) | |
tree | 12319e3dc293a668972da4573ef2f9ab960f10c2 /kernel/sched.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 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions