aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/ps3.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-06-10 00:38:54 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-15 02:47:24 -0400
commit03fa68c245cccbcb99035cbabaa13b408ba91ab5 (patch)
treeb6190d60db6302fd9b84c3aac50bf75b7351f70c /arch/powerpc/include/asm/ps3.h
parent9f08e9db84c1e9234e07b9b595f5b2508c621823 (diff)
ps3: shorten ps3_system_bus_[gs]et_driver_data to ps3_system_bus_[gs]et_drvdata
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: Geoff Levand <geoffrey.levand@am.sony.com> Cc: Jim Paris <jim@jtan.com> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ps3.h')
-rw-r--r--arch/powerpc/include/asm/ps3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h
index dcd302f489f6..7660694ab3ca 100644
--- a/arch/powerpc/include/asm/ps3.h
+++ b/arch/powerpc/include/asm/ps3.h
@@ -418,12 +418,12 @@ static inline struct ps3_system_bus_driver *
418 * @data: Data to set 418 * @data: Data to set
419 */ 419 */
420 420
421static inline void ps3_system_bus_set_driver_data( 421static inline void ps3_system_bus_set_drvdata(
422 struct ps3_system_bus_device *dev, void *data) 422 struct ps3_system_bus_device *dev, void *data)
423{ 423{
424 dev_set_drvdata(&dev->core, data); 424 dev_set_drvdata(&dev->core, data);
425} 425}
426static inline void *ps3_system_bus_get_driver_data( 426static inline void *ps3_system_bus_get_drvdata(
427 struct ps3_system_bus_device *dev) 427 struct ps3_system_bus_device *dev)
428{ 428{
429 return dev_get_drvdata(&dev->core); 429 return dev_get_drvdata(&dev->core);