diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-16 18:09:38 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-19 09:43:08 -0500 |
commit | 42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47 (patch) | |
tree | 966c1266afca5dd0e59cace37f7cd49577bdf0e2 /sound/pci/au88x0 | |
parent | f0940cee222790e6e995a23f25c4ffb23f939a24 (diff) |
Kill off warning: ‘inline’ is not at beginning of declaration
Fix a bunch of
warning: ‘inline’ is not at beginning of declaration
messages when building a 'make allyesconfig' kernel with -Wextra.
These warnings are trivial to kill, yet rather annoying when building with
-Wextra.
The more we can cut down on pointless crap like this the better (IMHO).
A previous patch to do this for a 'allnoconfig' build has already been
merged. This just takes the cleanup a little further.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'sound/pci/au88x0')
-rw-r--r-- | sound/pci/au88x0/au88x0.h | 4 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_core.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h index cf46bba563cf..ecb8f4daf408 100644 --- a/sound/pci/au88x0/au88x0.h +++ b/sound/pci/au88x0/au88x0.h | |||
@@ -211,7 +211,7 @@ static void vortex_adbdma_startfifo(vortex_t * vortex, int adbdma); | |||
211 | //static void vortex_adbdma_stopfifo(vortex_t *vortex, int adbdma); | 211 | //static void vortex_adbdma_stopfifo(vortex_t *vortex, int adbdma); |
212 | static void vortex_adbdma_pausefifo(vortex_t * vortex, int adbdma); | 212 | static void vortex_adbdma_pausefifo(vortex_t * vortex, int adbdma); |
213 | static void vortex_adbdma_resumefifo(vortex_t * vortex, int adbdma); | 213 | static void vortex_adbdma_resumefifo(vortex_t * vortex, int adbdma); |
214 | static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma); | 214 | static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma); |
215 | static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma); | 215 | static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma); |
216 | 216 | ||
217 | #ifndef CHIP_AU8810 | 217 | #ifndef CHIP_AU8810 |
@@ -219,7 +219,7 @@ static void vortex_wtdma_startfifo(vortex_t * vortex, int wtdma); | |||
219 | static void vortex_wtdma_stopfifo(vortex_t * vortex, int wtdma); | 219 | static void vortex_wtdma_stopfifo(vortex_t * vortex, int wtdma); |
220 | static void vortex_wtdma_pausefifo(vortex_t * vortex, int wtdma); | 220 | static void vortex_wtdma_pausefifo(vortex_t * vortex, int wtdma); |
221 | static void vortex_wtdma_resumefifo(vortex_t * vortex, int wtdma); | 221 | static void vortex_wtdma_resumefifo(vortex_t * vortex, int wtdma); |
222 | static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma); | 222 | static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma); |
223 | #endif | 223 | #endif |
224 | 224 | ||
225 | /* global stuff. */ | 225 | /* global stuff. */ |
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c index 23f49f356e0f..d43252a08b58 100644 --- a/sound/pci/au88x0/au88x0_core.c +++ b/sound/pci/au88x0/au88x0_core.c | |||
@@ -1249,7 +1249,7 @@ static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma) { | |||
1249 | } | 1249 | } |
1250 | } | 1250 | } |
1251 | 1251 | ||
1252 | static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma) | 1252 | static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma) |
1253 | { | 1253 | { |
1254 | stream_t *dma = &vortex->dma_adb[adbdma]; | 1254 | stream_t *dma = &vortex->dma_adb[adbdma]; |
1255 | int temp; | 1255 | int temp; |
@@ -1498,7 +1498,7 @@ static int vortex_wtdma_getcursubuffer(vortex_t * vortex, int wtdma) | |||
1498 | POS_SHIFT) & POS_MASK); | 1498 | POS_SHIFT) & POS_MASK); |
1499 | } | 1499 | } |
1500 | #endif | 1500 | #endif |
1501 | static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma) | 1501 | static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma) |
1502 | { | 1502 | { |
1503 | stream_t *dma = &vortex->dma_wt[wtdma]; | 1503 | stream_t *dma = &vortex->dma_wt[wtdma]; |
1504 | int temp; | 1504 | int temp; |