summaryrefslogtreecommitdiffstats
path: root/cpukit/dev/spi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-15 09:48:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-16 07:30:00 +0200
commit80cf60efec79ac63cc3a26c6ad8f86790a385847 (patch)
tree313926454bd4564d902b5585d9bb50fec5d17535 /cpukit/dev/spi
parent8f808c1b9ae98c5b9609c702a36df2127d36a604 (diff)
downloadrtems-80cf60efec79ac63cc3a26c6ad8f86790a385847.tar.bz2
Canonicalize config.h include
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
Diffstat (limited to 'cpukit/dev/spi')
-rw-r--r--cpukit/dev/spi/spi-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/dev/spi/spi-bus.c b/cpukit/dev/spi/spi-bus.c
index a3ee6f14fb..5308603216 100644
--- a/cpukit/dev/spi/spi-bus.c
+++ b/cpukit/dev/spi/spi-bus.c
@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
- #include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include <dev/spi/spi.h>