summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/simtec.h
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2012-03-07 01:47:11 -0800
committerKukjin Kim <kgene.kim@samsung.com>2012-03-07 01:47:11 -0800
commitec2cc753f47bfb4ce3584eb8cd9119340617bf12 (patch)
tree5419b4255c07996e6ea6ed52f6fd7a85758daf92 /arch/arm/mach-s3c24xx/simtec.h
parent9072dc983fb1743b711791a63ddfe5a7a52ef361 (diff)
ARM: S3C24XX: Consolidate Simtec extensions
The Simtec extension didn't follow a specific naming scheme for files and config options until now. This distributed the files throughout the whole mach-s3c24xx directory. This patch fixes the naming of files and option names and also creates a simtec.h header instead of using many one-liners. As the plat/audio-simtec.h only contains the platform-data struct now, it can also move to include/sound in a later patch. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/simtec.h')
-rw-r--r--arch/arm/mach-s3c24xx/simtec.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/simtec.h b/arch/arm/mach-s3c24xx/simtec.h
new file mode 100644
index 000000000000..ae8f4f9ad2ee
--- /dev/null
+++ b/arch/arm/mach-s3c24xx/simtec.h
@@ -0,0 +1,21 @@
+/* linux/arch/arm/mach-s3c2410/nor-simtec.h
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ * http://armlinux.simtec.co.uk/
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * Simtec common functions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+struct s3c24xx_audio_simtec_pdata;
+
+extern void nor_simtec_init(void);
+
+extern int usb_simtec_init(void);
+
+extern int simtec_audio_add(const char *codec_name, bool has_lr_routing,
+ struct s3c24xx_audio_simtec_pdata *pdata);