diff options
author | Jesper Juhl <juhl@dif.dk> | 2005-07-27 14:46:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:20 -0400 |
commit | 77933d7276ee8fa0e2947641941a6f7a100a327b (patch) | |
tree | e3a42724642410f5257c794a71b34642092eedd5 /sound/pci/maestro3.c | |
parent | 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 (diff) |
[PATCH] clean up inline static vs static inline
`gcc -W' likes to complain if the static keyword is not at the beginning of
the declaration. This patch fixes all remaining occurrences of "inline
static" up with "static inline" in the entire kernel tree (140 occurrences in
47 files).
While making this change I came across a few lines with trailing whitespace
that I also fixed up, I have also added or removed a blank line or two here
and there, but there are no functional changes in the patch.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/pci/maestro3.c')
-rw-r--r-- | sound/pci/maestro3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 096f15132853..52c585901c54 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -1055,22 +1055,22 @@ static struct m3_hv_quirk m3_hv_quirk_list[] = { | |||
1055 | schedule_timeout(((msec) * HZ) / 1000);\ | 1055 | schedule_timeout(((msec) * HZ) / 1000);\ |
1056 | } while (0) | 1056 | } while (0) |
1057 | 1057 | ||
1058 | inline static void snd_m3_outw(m3_t *chip, u16 value, unsigned long reg) | 1058 | static inline void snd_m3_outw(m3_t *chip, u16 value, unsigned long reg) |
1059 | { | 1059 | { |
1060 | outw(value, chip->iobase + reg); | 1060 | outw(value, chip->iobase + reg); |
1061 | } | 1061 | } |
1062 | 1062 | ||
1063 | inline static u16 snd_m3_inw(m3_t *chip, unsigned long reg) | 1063 | static inline u16 snd_m3_inw(m3_t *chip, unsigned long reg) |
1064 | { | 1064 | { |
1065 | return inw(chip->iobase + reg); | 1065 | return inw(chip->iobase + reg); |
1066 | } | 1066 | } |
1067 | 1067 | ||
1068 | inline static void snd_m3_outb(m3_t *chip, u8 value, unsigned long reg) | 1068 | static inline void snd_m3_outb(m3_t *chip, u8 value, unsigned long reg) |
1069 | { | 1069 | { |
1070 | outb(value, chip->iobase + reg); | 1070 | outb(value, chip->iobase + reg); |
1071 | } | 1071 | } |
1072 | 1072 | ||
1073 | inline static u8 snd_m3_inb(m3_t *chip, unsigned long reg) | 1073 | static inline u8 snd_m3_inb(m3_t *chip, unsigned long reg) |
1074 | { | 1074 | { |
1075 | return inb(chip->iobase + reg); | 1075 | return inb(chip->iobase + reg); |
1076 | } | 1076 | } |