diff options
author | Heiko Stuebner <heiko@sntech.de> | 2012-03-07 04:47:11 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-07 04:47:11 -0500 |
commit | ec2cc753f47bfb4ce3584eb8cd9119340617bf12 (patch) | |
tree | 5419b4255c07996e6ea6ed52f6fd7a85758daf92 /arch/arm/mach-s3c24xx/simtec.h | |
parent | 9072dc983fb1743b711791a63ddfe5a7a52ef361 (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.h | 21 |
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 00000000000..ae8f4f9ad2e --- /dev/null +++ b/arch/arm/mach-s3c24xx/simtec.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* linux/arch/arm/mach-s3c2410/nor-simtec.h | ||
2 | * | ||
3 | * Copyright (c) 2008 Simtec Electronics | ||
4 | * http://armlinux.simtec.co.uk/ | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * | ||
7 | * Simtec common functions | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | |||
14 | struct s3c24xx_audio_simtec_pdata; | ||
15 | |||
16 | extern void nor_simtec_init(void); | ||
17 | |||
18 | extern int usb_simtec_init(void); | ||
19 | |||
20 | extern int simtec_audio_add(const char *codec_name, bool has_lr_routing, | ||
21 | struct s3c24xx_audio_simtec_pdata *pdata); | ||