diff options
| -rw-r--r-- | sound/soc/codecs/wm8962.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 543c5c2631b6..07da601f8343 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
| @@ -74,7 +74,7 @@ struct wm8962_priv { | |||
| 74 | struct regulator_bulk_data supplies[WM8962_NUM_SUPPLIES]; | 74 | struct regulator_bulk_data supplies[WM8962_NUM_SUPPLIES]; |
| 75 | struct notifier_block disable_nb[WM8962_NUM_SUPPLIES]; | 75 | struct notifier_block disable_nb[WM8962_NUM_SUPPLIES]; |
| 76 | 76 | ||
| 77 | #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) | 77 | #if IS_ENABLED(CONFIG_INPUT) |
| 78 | struct input_dev *beep; | 78 | struct input_dev *beep; |
| 79 | struct work_struct beep_work; | 79 | struct work_struct beep_work; |
| 80 | int beep_rate; | 80 | int beep_rate; |
| @@ -3108,7 +3108,7 @@ int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) | |||
| 3108 | } | 3108 | } |
| 3109 | EXPORT_SYMBOL_GPL(wm8962_mic_detect); | 3109 | EXPORT_SYMBOL_GPL(wm8962_mic_detect); |
| 3110 | 3110 | ||
| 3111 | #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) | 3111 | #if IS_ENABLED(CONFIG_INPUT) |
| 3112 | static int beep_rates[] = { | 3112 | static int beep_rates[] = { |
| 3113 | 500, 1000, 2000, 4000, | 3113 | 500, 1000, 2000, 4000, |
| 3114 | }; | 3114 | }; |
