Commit a804dbaf authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] es1688 Definition redundancy

From: Fabian Frederick <Fabian.Frederick@skynet.be>

Here's a trivial patch to avoid definition redundancy in es1688.
parent 7804ee5a
...@@ -55,6 +55,8 @@ struct _snd_es1688 { ...@@ -55,6 +55,8 @@ struct _snd_es1688 {
typedef struct _snd_es1688 es1688_t; typedef struct _snd_es1688 es1688_t;
#define chip_t es1688_t
/* I/O ports */ /* I/O ports */
#define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x) #define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x)
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#define SNDRV_GET_ID #define SNDRV_GET_ID
#include <sound/initval.h> #include <sound/initval.h>
#define chip_t es1688_t
MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>"); MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>");
MODULE_DESCRIPTION("ESS ESx688 AudioDrive"); MODULE_DESCRIPTION("ESS ESx688 AudioDrive");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
...@@ -37,8 +37,6 @@ MODULE_DESCRIPTION("ESS ESx688 lowlevel module"); ...@@ -37,8 +37,6 @@ MODULE_DESCRIPTION("ESS ESx688 lowlevel module");
MODULE_CLASSES("{sound}"); MODULE_CLASSES("{sound}");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#define chip_t es1688_t
static int snd_es1688_dsp_command(es1688_t *chip, unsigned char val) static int snd_es1688_dsp_command(es1688_t *chip, unsigned char val)
{ {
int i; int i;
......
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