diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-02-09 11:10:10 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-02 07:40:52 +0800 |
commit | a056bef45529810183f56944dcea8b4e297c2dc3 (patch) | |
tree | 31155e0d6d746fbb2272e109a2d5790e03f0d1c5 /arch/arm/mach-pxa/include | |
parent | 98acdbe4cf83f5a2e21c7aac830146b5d6da9282 (diff) | |
download | talos-obmc-linux-a056bef45529810183f56944dcea8b4e297c2dc3.tar.gz talos-obmc-linux-a056bef45529810183f56944dcea8b4e297c2dc3.zip |
[ARM] pxa: introduce PXA_SSP_LEGACY for legacy SSP API
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/ssp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/ssp.h b/arch/arm/mach-pxa/include/mach/ssp.h index cb5cb766f0f1..be1be5b6db51 100644 --- a/arch/arm/mach-pxa/include/mach/ssp.h +++ b/arch/arm/mach-pxa/include/mach/ssp.h @@ -46,6 +46,7 @@ struct ssp_device { int drcmr_tx; }; +#ifdef CONFIG_PXA_SSP_LEGACY /* * SSP initialisation flags */ @@ -78,6 +79,7 @@ void ssp_restore_state(struct ssp_dev *dev, struct ssp_state *ssp); int ssp_init(struct ssp_dev *dev, u32 port, u32 init_flags); int ssp_config(struct ssp_dev *dev, u32 mode, u32 flags, u32 psp_flags, u32 speed); void ssp_exit(struct ssp_dev *dev); +#endif /* CONFIG_PXA_SSP_LEGACY */ /** * ssp_write_reg - Write to a SSP register |