diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-02-07 09:14:15 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-02-09 06:16:52 -0500 |
commit | b8cb3750ce94d7610934465263850dcf40736bca (patch) | |
tree | 855a44ce077c983c2bbad56cf539acbad0bf524d | |
parent | 2ebab40eb74a0225d5dfba72bfae317dd948fa2d (diff) |
ALSA: firewire-digi00x: Drop bogus const type qualifier on dot_scrt()
sound/firewire/digi00x/amdtp-dot.c:67: warning: type qualifiers ignored on function return type
Drop the bogus "const" type qualifier on the return type of dot_scrt()
to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/firewire/digi00x/amdtp-dot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/amdtp-dot.c b/sound/firewire/digi00x/amdtp-dot.c index b02a5e8cad44..0ac92aba5bc1 100644 --- a/sound/firewire/digi00x/amdtp-dot.c +++ b/sound/firewire/digi00x/amdtp-dot.c | |||
@@ -63,7 +63,7 @@ struct amdtp_dot { | |||
63 | #define BYTE_PER_SAMPLE (4) | 63 | #define BYTE_PER_SAMPLE (4) |
64 | #define MAGIC_DOT_BYTE (2) | 64 | #define MAGIC_DOT_BYTE (2) |
65 | #define MAGIC_BYTE_OFF(x) (((x) * BYTE_PER_SAMPLE) + MAGIC_DOT_BYTE) | 65 | #define MAGIC_BYTE_OFF(x) (((x) * BYTE_PER_SAMPLE) + MAGIC_DOT_BYTE) |
66 | static const u8 dot_scrt(const u8 idx, const unsigned int off) | 66 | static u8 dot_scrt(const u8 idx, const unsigned int off) |
67 | { | 67 | { |
68 | /* | 68 | /* |
69 | * the length of the added pattern only depends on the lower nibble | 69 | * the length of the added pattern only depends on the lower nibble |