Commit 008f3599 authored by Harvey Harrison's avatar Harvey Harrison Committed by Takashi Iwai

[ALSA] sound: ice1712: unused structs

Don't need to declare a struct when defining a structure layout.  Both
of these structs are unused.
sound/pci/ice1712/revo.c:39:3: warning: symbol 'revo51' was not declared. Should it be static?
sound/pci/ice1712/phase.c:54:3: warning: symbol 'phase28' was not declared. Should it be static?
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3fffe871
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
struct phase28_spec { struct phase28_spec {
unsigned short master[2]; unsigned short master[2];
unsigned short vol[8]; unsigned short vol[8];
} phase28; };
/* WM8770 registers */ /* WM8770 registers */
#define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */ #define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
struct revo51_spec { struct revo51_spec {
struct snd_i2c_device *dev; struct snd_i2c_device *dev;
struct snd_pt2258 *pt2258; struct snd_pt2258 *pt2258;
} revo51; };
static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) static void revo_i2s_mclk_changed(struct snd_ice1712 *ice)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment