diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-31 18:24:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:23 -0400 |
commit | e2801806de1c9c1d03b7d1bfcb2e01dd4d389e80 (patch) | |
tree | db061987cacc20ba4962605188248b17c67a69c0 /arch/powerpc/sysdev/fsl_soc.h | |
parent | 754582853120a9ec8b8293b5147b605b1c6a39f1 (diff) |
powerpc/fsl_soc: isolate legacy fsl_spi support to mpc832x_rdb boards
The advantages of this:
- Don't encourage legacy support;
- Less external symbols, less code to compile-in for !MPC832x_RDB
platforms.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.h')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h index b5f3456780b8..42381bb6cd51 100644 --- a/arch/powerpc/sysdev/fsl_soc.h +++ b/arch/powerpc/sysdev/fsl_soc.h | |||
@@ -19,10 +19,6 @@ extern u32 fsl_get_sys_freq(void); | |||
19 | struct spi_board_info; | 19 | struct spi_board_info; |
20 | struct device_node; | 20 | struct device_node; |
21 | 21 | ||
22 | extern int fsl_spi_init(struct spi_board_info *board_infos, | ||
23 | unsigned int num_board_infos, | ||
24 | void (*cs_control)(struct spi_device *spi, bool on)); | ||
25 | |||
26 | extern void fsl_rstcr_restart(char *cmd); | 22 | extern void fsl_rstcr_restart(char *cmd); |
27 | 23 | ||
28 | #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) | 24 | #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) |