diff options
Diffstat (limited to 'include/linux/mbus.h')
-rw-r--r-- | include/linux/mbus.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/mbus.h b/include/linux/mbus.h index c11ff2932549..efa1a6d7aca8 100644 --- a/include/linux/mbus.h +++ b/include/linux/mbus.h | |||
@@ -32,5 +32,16 @@ struct mbus_dram_target_info | |||
32 | } cs[4]; | 32 | } cs[4]; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | 35 | /* | |
36 | * The Marvell mbus is to be found only on SOCs from the Orion family | ||
37 | * at the moment. Provide a dummy stub for other architectures. | ||
38 | */ | ||
39 | #ifdef CONFIG_PLAT_ORION | ||
40 | extern const struct mbus_dram_target_info *mv_mbus_dram_info(void); | ||
41 | #else | ||
42 | static inline const struct mbus_dram_target_info *mv_mbus_dram_info(void) | ||
43 | { | ||
44 | return NULL; | ||
45 | } | ||
46 | #endif | ||
36 | #endif | 47 | #endif |