diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-06-14 14:12:03 (GMT) |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-08-05 06:32:41 (GMT) |
commit | 2d679827e5b45e737fe86ab399b0891dd0cf00cb (patch) | |
tree | f3491c2632131dd4ad10a2a7dd7a846a366074a0 /arch/arm/mach-pxa/include | |
parent | 31620e21afc94a20fb59aff13de9268120b5e416 (diff) | |
download | linux-2d679827e5b45e737fe86ab399b0891dd0cf00cb.tar.xz |
[ARM] pxa/spitz: Rework spitz
This huge patch mostly shuffles code. The spitz.c file contained terrible mess
and needed a cleanup, here it is:
1) Made every part modular, components are not built in if not selected.
2) Removed loads of preprocessor goo, mostly "#ifdef MACH_AKITA .... #endif" and
similar code. The kernel size will grow by a few kb now, but the file is much
more readable.
3) Reworked SD/CF power setting function and made it reentrant.
4) Add ISL6271A regulator support
5) Correctly register WM8750
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/spitz.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/spitz.h b/arch/arm/mach-pxa/include/mach/spitz.h index dc1ff25..685749a 100644 --- a/arch/arm/mach-pxa/include/mach/spitz.h +++ b/arch/arm/mach-pxa/include/mach/spitz.h @@ -181,3 +181,9 @@ #define SPITZ_IRQ_GPIO_CF2_IRQ IRQ_GPIO(SPITZ_GPIO_CF2_IRQ) #define SPITZ_IRQ_GPIO_nSD_INT IRQ_GPIO(SPITZ_GPIO_nSD_INT) #define SPITZ_IRQ_GPIO_nSD_DETECT IRQ_GPIO(SPITZ_GPIO_nSD_DETECT) + +/* + * Shared data structures + */ +extern struct platform_device spitzssp_device; +extern struct sharpsl_charger_machinfo spitz_pm_machinfo; |