diff options
author | Greg Kroah-Hartman <[email protected]> | 2009-05-04 12:40:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-06-15 21:30:28 -0700 |
commit | 1b713e00500c6f03317742981674e89a21629399 (patch) | |
tree | 28effcbb622d14f72b3d2059c6a7db6b0ec124a6 /net/unix/af_unix.c | |
parent | 839214aeaae1866d55e745c676206825f8ba7e99 (diff) |
xen: remove driver_data direct access of struct device from more drivers
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: [email protected]
Cc: [email protected]
Acked-by: Chris Wright <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions