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_spi.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_spi.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c b/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c index d87e6c1ec..75a483591 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_spi.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/lpc17xx/lpc17_spi.c * - * Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2010, 2012-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -539,10 +539,10 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR void *buffer, size_t nw ****************************************************************************/ /**************************************************************************** - * Name: up_spiinitialize + * Name: lpc17_spiinitialize * * Description: - * Initialize the selected SPI port + * Initialize the selected SPI port. * * Input Parameter: * Port number (for hardware that has mutiple SPI interfaces) @@ -552,7 +552,7 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR void *buffer, size_t nw * ****************************************************************************/ -FAR struct spi_dev_s *up_spiinitialize(int port) +FAR struct spi_dev_s *lpc17_spiinitialize(int port) { FAR struct lpc17_spidev_s *priv = &g_spidev; irqstate_t flags; |