summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_codec.h
diff options
context:
space:
mode:
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>2016-09-01 11:38:38 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-09-02 14:13:39 +0200
commit79c222bcb72789456076a26a9bad2acc62cb2cdc (patch)
treebfa06a6a4722d1b75adc81bb9ab87df29bae379b /drivers/staging/greybus/audio_codec.h
parent1f3e09e759061f803b03039070605b5a524da547 (diff)
greybus: audio: Remove unnecessary num_jack field from module_info
snd_jack will be registered based on real capabilities shared by module's FW instead of parsing widgets and register it with fixed capabilities. Remove module_info->num_jack, since it is no more required. Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org> Reviewed-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.h')
-rw-r--r--drivers/staging/greybus/audio_codec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h
index 0153809e72ab..5a397b0a1886 100644
--- a/drivers/staging/greybus/audio_codec.h
+++ b/drivers/staging/greybus/audio_codec.h
@@ -175,7 +175,6 @@ struct gbaudio_module_info {
/* jack related */
char jack_name[NAME_SIZE];
char button_name[NAME_SIZE];
- int num_jacks;
int jack_type;
int button_status;
struct snd_soc_jack headset_jack;