]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Constify ratden/ratnum constraints
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 28 Oct 2015 10:37:53 +0000 (11:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Oct 2015 10:42:22 +0000 (11:42 +0100)
commit19c1dce2a1eb1646e1e92ac1a30864b8014cf711
treea09b4a2ff85aeeb4f2d71f7f6b35866aa8566689
parentee0d8eb4ef7c55a6446964cdc143d85c19bc5f50
ALSA: Constify ratden/ratnum constraints

The ALSA core does not modify the constraints provided by a driver. Most
constraint helper functions already take a const pointer to the constraint
description, the exception at the moment being the ratden and ratnum
constraints. Make those const as well, this allows a driver to declare them
as const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c