summaryrefslogtreecommitdiffstats
path: root/sys/dev/spibus
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-13 14:06:01 +0000
committered <ed@FreeBSD.org>2011-12-13 14:06:01 +0000
commit8f4291328fc8c526ced0d1d7afe013bc464ae0c3 (patch)
tree6511ce1e1f47db206a8f3a23f568bfc5fc44a836 /sys/dev/spibus
parent036b3a534b9846a059e610aff7167bf252da5fdd (diff)
downloadFreeBSD-src-8f4291328fc8c526ced0d1d7afe013bc464ae0c3.zip
FreeBSD-src-8f4291328fc8c526ced0d1d7afe013bc464ae0c3.tar.gz
Replace `inline static' by `static inline'.
If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected.
Diffstat (limited to 'sys/dev/spibus')
-rw-r--r--sys/dev/spibus/spibusvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/spibus/spibusvar.h b/sys/dev/spibus/spibusvar.h
index 543fcfe..c035be1 100644
--- a/sys/dev/spibus/spibusvar.h
+++ b/sys/dev/spibus/spibusvar.h
@@ -18,7 +18,7 @@ enum {
};
#define SPIBUS_ACCESSOR(A, B, T) \
-__inline static int \
+static inline int \
spibus_get_ ## A(device_t dev, T *t) \
{ \
return BUS_READ_IVAR(device_get_parent(dev), dev, \
OpenPOWER on IntegriCloud