aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_soc.h
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2007-08-23 07:35:56 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-09-14 09:54:09 -0400
commit26f6cb999366a71b8e318bceaf8fafc1ffecae40 (patch)
tree2da19214e759df13caf4772b6936b5689ac1f070 /arch/powerpc/sysdev/fsl_soc.h
parentaf6a9aabc106b70ab03d6665c713bca3dd3cb195 (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.h7
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);
8extern u32 get_brgfreq(void); 8extern u32 get_brgfreq(void);
9extern u32 get_baudrate(void); 9extern u32 get_baudrate(void);
10 10
11struct spi_board_info;
12
13extern 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