diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-04-01 15:02:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-04-01 15:02:22 +0000 |
commit | 8a4cd2258a5f535f54abf86d6eb92aa000ac085b (patch) | |
tree | de4e1fda591ec8134323065fa52ab6827ebc3dda /nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c | |
parent | 9bd404cc67fe1ad52599e3a89036344d78cbdf55 (diff) | |
download | px4-nuttx-8a4cd2258a5f535f54abf86d6eb92aa000ac085b.tar.gz px4-nuttx-8a4cd2258a5f535f54abf86d6eb92aa000ac085b.tar.bz2 px4-nuttx-8a4cd2258a5f535f54abf86d6eb92aa000ac085b.zip |
LPC17xx SPI and SSP initialization functions both called up_spiinitialize(); Changed to lpc17_spinitialize() and lpc17_sspinitialize().
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5809 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c index 331319cc7..81b182e6c 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c @@ -814,10 +814,10 @@ static inline FAR struct lpc17_sspdev_s *lpc17_ssp1initialize(void) ****************************************************************************/ /**************************************************************************** - * Name: up_spiinitialize + * Name: lpc17_sspinitialize * * Description: - * Initialize the selected SPI port + * Initialize the selected SSP port. * * Input Parameter: * Port number (for hardware that has mutiple SPI interfaces) @@ -827,7 +827,7 @@ static inline FAR struct lpc17_sspdev_s *lpc17_ssp1initialize(void) * ****************************************************************************/ -FAR struct spi_dev_s *up_spiinitialize(int port) +FAR struct spi_dev_s *lpc17_sspinitialize(int port) { FAR struct lpc17_sspdev_s *priv; uint32_t regval; |