summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-05-01 22:36:33 -0500
committerMike Isely <isely@pobox.com>2009-05-01 22:36:33 -0500
commitbd5e7a9e095c77ae571573079f9f87181f73f0a5 (patch)
tree587e1b87df5079002e8fdbdd9fbd9906dc1778c8 /linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.c
parent5fc20d3a3b9f5a7aed0f0e17174524ff7caf6f72 (diff)
downloadmediapointer-dvb-s2-bd5e7a9e095c77ae571573079f9f87181f73f0a5.tar.gz
mediapointer-dvb-s2-bd5e7a9e095c77ae571573079f9f87181f73f0a5.tar.bz2
pvrusb2: remove driver_data direct access of struct device
From: Greg Kroah-Hartman <gregkh@suse.de> 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. Priority: normal Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: linux-media@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.c')
0 files changed, 0 insertions, 0 deletions