summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-dwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-dwc.h')
-rw-r--r--drivers/pwm/pwm-dwc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-dwc.h b/drivers/pwm/pwm-dwc.h
index a8b074841ae8..c6e2df5a6122 100644
--- a/drivers/pwm/pwm-dwc.h
+++ b/drivers/pwm/pwm-dwc.h
@@ -38,6 +38,12 @@ struct dwc_pwm_info {
unsigned int size;
};
+struct dwc_pwm_drvdata {
+ const struct dwc_pwm_info *info;
+ void __iomem *io_base;
+ struct pwm_chip *chips[];
+};
+
struct dwc_pwm_ctx {
u32 cnt;
u32 cnt2;