mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Add support for the poweroff on calypso phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4520 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f58011c8bf
commit
ee7d6789b7
12 changed files with 214 additions and 55 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* include/nuttx/spi.h
|
||||
*
|
||||
* Copyright(C) 2008-2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright(C) 2008-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NUTTX_SPI_H
|
||||
#define __NUTTX_SPI_H
|
||||
#ifndef __INCLUDE_NUTTX_SPI_H
|
||||
#define __INCLUDE_NUTTX_SPI_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
#ifndef CONFIG_SPI_OWNBUS
|
||||
# define SPI_LOCK(d,l) (d)->ops->lock(d,l)
|
||||
#else
|
||||
# define SPI_LOCK(d,l)
|
||||
# define SPI_LOCK(d,l) 0
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -441,4 +441,4 @@ EXTERN FAR struct spi_dev_s *up_spiinitialize(int port);
|
|||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
#endif /* __NUTTX_SPI_H */
|
||||
#endif /* __INCLUDE_NUTTX_SPI_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue