diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-04 12:40:54 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-12 09:20:54 +0200 |
commit | ae31c1fbdbb18d917b0a1139497c2dbd35886989 (patch) | |
tree | cdc2e881e4195858a72a88627b28461900477757 /scripts/Makefile | |
parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) | |
download | op-kernel-dev-ae31c1fbdbb18d917b0a1139497c2dbd35886989.zip op-kernel-dev-ae31c1fbdbb18d917b0a1139497c2dbd35886989.tar.gz |
sound: 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: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile')
0 files changed, 0 insertions, 0 deletions