mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08: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:
+5
-5
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user