conf: const pointers in block get functions
All config_get_block_*() functions should accept constant config_param pointers.
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ mixer_reconfigure(char *driver)
|
||||
|
||||
void volume_init(void)
|
||||
{
|
||||
struct config_param *param = config_get_param(CONF_MIXER_TYPE);
|
||||
const struct config_param *param = config_get_param(CONF_MIXER_TYPE);
|
||||
//hw mixing is by default
|
||||
if (param) {
|
||||
if (strcmp(param->value, VOLUME_MIXER_SOFTWARE) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user