bt-sco.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | bt-sco.c (a180ba45b1cf630b3bd5912ce235b2ee16606b8e) |
---|---|
1/* 2 * Driver for generic Bluetooth SCO link 3 * Copyright 2011 Lars-Peter Clausen <lars@metafoo.de> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 48 unchanged lines hidden (view full) --- 57 .channels_min = 1, 58 .channels_max = 1, 59 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, 60 .formats = SNDRV_PCM_FMTBIT_S16_LE, 61 }, 62 } 63}; 64 | 1/* 2 * Driver for generic Bluetooth SCO link 3 * Copyright 2011 Lars-Peter Clausen <lars@metafoo.de> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 48 unchanged lines hidden (view full) --- 57 .channels_min = 1, 58 .channels_max = 1, 59 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, 60 .formats = SNDRV_PCM_FMTBIT_S16_LE, 61 }, 62 } 63}; 64 |
65static struct snd_soc_codec_driver soc_codec_dev_bt_sco = { | 65static const struct snd_soc_codec_driver soc_codec_dev_bt_sco = { |
66 .component_driver = { 67 .dapm_widgets = bt_sco_widgets, 68 .num_dapm_widgets = ARRAY_SIZE(bt_sco_widgets), 69 .dapm_routes = bt_sco_routes, 70 .num_dapm_routes = ARRAY_SIZE(bt_sco_routes), 71 }, 72}; 73 --- 48 unchanged lines hidden --- | 66 .component_driver = { 67 .dapm_widgets = bt_sco_widgets, 68 .num_dapm_widgets = ARRAY_SIZE(bt_sco_widgets), 69 .dapm_routes = bt_sco_routes, 70 .num_dapm_routes = ARRAY_SIZE(bt_sco_routes), 71 }, 72}; 73 --- 48 unchanged lines hidden --- |