diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-30 14:43:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:30:26 -0700 |
commit | bab030595a4f84c679fe26e05263e3dc9f560391 (patch) | |
tree | 0a49f3a38b7798eaf79a10b76df718023f5da066 /drivers/char/nwbutton.h | |
parent | fcb5207723919ad85178420633d55efea80b652d (diff) |
ieee1394: 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.
Cc: linux1394-devel@lists.sourceforge.net
Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Ben Collins <ben.collins@ubuntu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/nwbutton.h')
0 files changed, 0 insertions, 0 deletions