summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/net_kern.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-05-05 10:41:19 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 06:30:28 +0200
commit5888fd30ac70fa50f08979c46f9206d01ca6ad49 (patch)
tree12319e3dc293a668972da4573ef2f9ab960f10c2 /arch/um/drivers/net_kern.c
parents390: remove driver_data direct access of struct device (diff)
downloadlinux-5888fd30ac70fa50f08979c46f9206d01ca6ad49.tar.xz
linux-5888fd30ac70fa50f08979c46f9206d01ca6ad49.zip
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 'arch/um/drivers/net_kern.c')
0 files changed, 0 insertions, 0 deletions