aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/include
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:09 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:09 +0000
commita3c18d29a0edf312e929858c32f441dccef88c08 (patch)
tree232f231415a20c8d7de2a3124eda748b34c8c7f3 /arch/arm/mach-s3c2410/include
parent975b2fbb162c0317cd35469d4e0b54a6a251d4a2 (diff)
add-pwm-child-attach-callback.patch
Things can depend on PWM being up, allow device tree to show that Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2410/include')
-rw-r--r--arch/arm/mach-s3c2410/include/mach/pwm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/pwm.h b/arch/arm/mach-s3c2410/include/mach/pwm.h
index 4e3a298f407..18c1bac8851 100644
--- a/arch/arm/mach-s3c2410/include/mach/pwm.h
+++ b/arch/arm/mach-s3c2410/include/mach/pwm.h
@@ -29,6 +29,12 @@ struct s3c2410_pwm {
unsigned long comparer;
};
+struct s3c24xx_pwm_platform_data{
+ /* callback to attach platform children (to enforce suspend / resume
+ * ordering */
+ void (*attach_child_devices)(struct device *parent_device);
+};
+
int s3c2410_pwm_init(struct s3c2410_pwm *s3c2410_pwm);
int s3c2410_pwm_enable(struct s3c2410_pwm *s3c2410_pwm);
int s3c2410_pwm_disable(struct s3c2410_pwm *s3c2410_pwm);