aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/aw2
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@alsa2.suse.de>2008-03-10 07:19:12 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:23 -0400
commit91662577979cadf945cd3ffc4c470e5b91378370 (patch)
tree49a8adcd8af4c6e05fb309c1ac70117c99932457 /sound/pci/aw2
parentee7a9c7c2eb5cd09c15824323eac4cd95e2d18a8 (diff)
[ALSA] aw2 - Rename aw2-tsl.h to aw2-tsl.c
aw2-tsl.h should be rather a C file to be included since it's referred only in aw2-saa6146.c and includes a table data. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/aw2')
-rw-r--r--sound/pci/aw2/aw2-saa7146.c3
-rw-r--r--sound/pci/aw2/aw2-tsl.c (renamed from sound/pci/aw2/aw2-tsl.h)0
2 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/aw2/aw2-saa7146.c b/sound/pci/aw2/aw2-saa7146.c
index f20f213489a3..6a3891ab69dd 100644
--- a/sound/pci/aw2/aw2-saa7146.c
+++ b/sound/pci/aw2/aw2-saa7146.c
@@ -35,10 +35,11 @@
35#include <sound/pcm.h> 35#include <sound/pcm.h>
36#include <sound/pcm_params.h> 36#include <sound/pcm_params.h>
37 37
38#include "aw2-tsl.h"
39#include "saa7146.h" 38#include "saa7146.h"
40#include "aw2-saa7146.h" 39#include "aw2-saa7146.h"
41 40
41#include "aw2-tsl.c"
42
42#define WRITEREG(value, addr) writel((value), chip->base_addr + (addr)) 43#define WRITEREG(value, addr) writel((value), chip->base_addr + (addr))
43#define READREG(addr) readl(chip->base_addr + (addr)) 44#define READREG(addr) readl(chip->base_addr + (addr))
44 45
diff --git a/sound/pci/aw2/aw2-tsl.h b/sound/pci/aw2/aw2-tsl.c
index 459b0311ea31..459b0311ea31 100644
--- a/sound/pci/aw2/aw2-tsl.h
+++ b/sound/pci/aw2/aw2-tsl.c