aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/ps3.h
diff options
context:
space:
mode:
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 b9e4987986dd..dcd302f489f6 100644
--- a/arch/powerpc/include/asm/ps3.h
+++ b/arch/powerpc/include/asm/ps3.h
@@ -421,12 +421,12 @@ static inline struct ps3_system_bus_driver *
421static inline void ps3_system_bus_set_driver_data( 421static inline void ps3_system_bus_set_driver_data(
422 struct ps3_system_bus_device *dev, void *data) 422 struct ps3_system_bus_device *dev, void *data)
423{ 423{
424 dev->core.driver_data = 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_driver_data(
427 struct ps3_system_bus_device *dev) 427 struct ps3_system_bus_device *dev)
428{ 428{
429 return dev->core.driver_data; 429 return dev_get_drvdata(&dev->core);
430} 430}
431 431
432/* These two need global scope for get_dma_ops(). */ 432/* These two need global scope for get_dma_ops(). */