[ALSA] Fix 'discards qualifiers' compile warnings in pcm.h
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Sep 2007 22:33:48 +0000 (00:33 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:49:27 +0000 (16:49 +0200)
commitb9f09a485937d9c3fb524b2fa140fee1d94856d0
tree6a248aa3c46e4723e0b58d3597e2a53698771812
parentd44df2d0f22a688f4f3af3e0d6cbcf9a4516e1b5
[ALSA] Fix 'discards qualifiers' compile warnings in pcm.h

Fixed cast messes in pcm.h.
    include/sound/pcm.h: In function ‘hw_param_interval_c’:
    include/sound/pcm.h:800: warning: passing argument 1 of ‘hw_param_interval’ discards qualifiers from pointer target type
Simply redefine the inline functions again for const pointers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/pcm.h