summaryrefslogtreecommitdiffstats
path: root/nuttx/include/nuttx/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/spi.h')
-rw-r--r--nuttx/include/nuttx/spi.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/include/nuttx/spi.h b/nuttx/include/nuttx/spi.h
index bd55ec5e2a..22ce9e05f9 100644
--- a/nuttx/include/nuttx/spi.h
+++ b/nuttx/include/nuttx/spi.h
@@ -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 */