diff options
author | Roel Kluin <[email protected]> | 2009-06-10 04:38:52 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-06-15 16:47:23 +1000 |
commit | 6dee2c87ebbe5d7ce8c4c163966a0bd9c02c75ef (patch) | |
tree | d3ba06ad73c80fb9fccd9c0a0b590f5cc6bec6d4 /net/unix/af_unix.c | |
parent | 1bd9784f5ebb5b1b5a1efb8302d7b57c6483e2e6 (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.
[Geert: Use ps3_system_bus_[gs]et_driver_data() for ps3_system_bus_device]
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Jim Paris <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions