aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/sh/siu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh/siu.h')
-rw-r--r--sound/soc/sh/siu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/sh/siu.h b/sound/soc/sh/siu.h
index 492b1cae24c..9f4dcb921ff 100644
--- a/sound/soc/sh/siu.h
+++ b/sound/soc/sh/siu.h
@@ -98,7 +98,9 @@ enum {
SIU_CLKB_EXT
};
+struct device;
struct siu_info {
+ struct device *dev;
int port_id;
u32 __iomem *pram;
u32 __iomem *xram;
@@ -181,8 +183,8 @@ static inline u32 siu_read32(u32 __iomem *addr)
#define SIU_BRGBSEL (0x108 / sizeof(u32))
#define SIU_BRRB (0x10c / sizeof(u32))
-extern struct snd_soc_platform siu_platform;
-extern struct snd_soc_dai siu_i2s_dai;
+extern struct snd_soc_platform_driver siu_platform;
+extern struct siu_info *siu_i2s_data;
int siu_init_port(int port, struct siu_port **port_info, struct snd_card *card);
void siu_free_port(struct siu_port *port_info);