ALSA pdaudiocf: fix three compile warnings
PATCH 1/1 ALSA pdaudiocf: fix three compile warnings
I got the following compile warnings in 2.6.5-rc:
<-- snip -->
...
CC sound/pcmcia/pdaudiocf/pdaudiocf.oinclude/sound/initval.h:141: warning: `get_id' defined but not used
CC sound/pcmcia/pdaudiocf/pdaudiocf_core.oinclude/sound/initval.h:141: warning: `get_id' defined but not used
CC sound/pcmcia/pdaudiocf/pdaudiocf_irq.oinclude/sound/initval.h:141: warning: `get_id' defined but not used
...
<-- snip -->
Below is a patch that fixes these warnings (SNDRV_GET_ID is not required since these files don't use get_id).
I've tested both the modular and the non-modular compilation.
cu
Adrian
sound/pcmcia/pdaudiocf/pdaudiocf.c renamed from sound/pcmcia/pdaudiocf/pdaudiocf.c.old +0 -1
@@ -25,7 +25,6 @@#include <pcmcia/ciscode.h> #include <pcmcia/cisreg.h> #include "pdaudiocf.h" -#define SNDRV_GET_ID #include <sound/initval.h> /*
sound/pcmcia/pdaudiocf/pdaudiocf_core.c renamed from sound/pcmcia/pdaudiocf/pdaudiocf_core.c.old +0 -1
@@ -23,7 +23,6 @@#include <sound/core.h> #include <sound/info.h> #include "pdaudiocf.h" -#define SNDRV_GET_ID #include <sound/initval.h> /*
sound/pcmcia/pdaudiocf/pdaudiocf_irq.c renamed from sound/pcmcia/pdaudiocf/pdaudiocf_irq.c.old +0 -1
@@ -21,7 +21,6 @@#include <sound/driver.h> #include <sound/core.h> #include "pdaudiocf.h" -#define SNDRV_GET_ID #include <sound/initval.h> /*