mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
powerpc: Implement get_brgfreq() and get_baudrate() stubs
This is needed to not bother with ugly #ifdefs in the drivers. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
ca9153a3a2
commit
a5dae76a3d
1 changed files with 5 additions and 0 deletions
|
@ -5,8 +5,13 @@
|
|||
#include <asm/mmu.h>
|
||||
|
||||
extern phys_addr_t get_immrbase(void);
|
||||
#if defined(CONFIG_CPM2) || defined(CONFIG_QUICC_ENGINE) || defined(CONFIG_8xx)
|
||||
extern u32 get_brgfreq(void);
|
||||
extern u32 get_baudrate(void);
|
||||
#else
|
||||
static inline u32 get_brgfreq(void) { return -1; }
|
||||
static inline u32 get_baudrate(void) { return -1; }
|
||||
#endif
|
||||
extern u32 fsl_get_sys_freq(void);
|
||||
|
||||
struct spi_board_info;
|
||||
|
|
Loading…
Reference in a new issue