diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2007-08-23 07:35:56 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-09-14 09:54:09 -0400 |
commit | 26f6cb999366a71b8e318bceaf8fafc1ffecae40 (patch) | |
tree | 2da19214e759df13caf4772b6936b5689ac1f070 /arch/powerpc/sysdev/fsl_soc.h | |
parent | af6a9aabc106b70ab03d6665c713bca3dd3cb195 (diff) |
[POWERPC] fsl_soc: add support for fsl_spi
Add helper function to setup SPI bus/device information
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.h')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h index 04e145b5fc32..618d91d1e103 100644 --- a/arch/powerpc/sysdev/fsl_soc.h +++ b/arch/powerpc/sysdev/fsl_soc.h | |||
@@ -8,5 +8,12 @@ extern phys_addr_t get_immrbase(void); | |||
8 | extern u32 get_brgfreq(void); | 8 | extern u32 get_brgfreq(void); |
9 | extern u32 get_baudrate(void); | 9 | extern u32 get_baudrate(void); |
10 | 10 | ||
11 | struct spi_board_info; | ||
12 | |||
13 | extern int fsl_spi_init(struct spi_board_info *board_infos, | ||
14 | unsigned int num_board_infos, | ||
15 | void (*activate_cs)(u8 cs, u8 polarity), | ||
16 | void (*deactivate_cs)(u8 cs, u8 polarity)); | ||
17 | |||
11 | #endif | 18 | #endif |
12 | #endif | 19 | #endif |