From: Roel Kluin Date: Wed, 10 Jun 2009 04:38:52 +0000 (+0000) Subject: block/ps3: remove driver_data direct access of struct device X-Git-Tag: v2.6.31-rc1~314^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dee2c87ebbe5d7ce8c4c163966a0bd9c02c75ef;p=pandora-kernel.git 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 Signed-off-by: Geert Uytterhoeven Cc: Jim Paris Cc: Jens Axboe Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed