Commit eda43d16 authored by Albrecht Dreß's avatar Albrecht Dreß Committed by Grant Likely

mpc52xx/wdt: merge WDT code into the GPT driver

Merge the WDT code into the GPT interface.
Signed-off-by: default avatarAlbrecht Dreß <albrecht.dress@arcor.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 13b600b5
...@@ -281,7 +281,8 @@ struct mpc52xx_gpt_priv; ...@@ -281,7 +281,8 @@ struct mpc52xx_gpt_priv;
extern struct mpc52xx_gpt_priv *mpc52xx_gpt_from_irq(int irq); extern struct mpc52xx_gpt_priv *mpc52xx_gpt_from_irq(int irq);
extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period, extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
int continuous); int continuous);
extern void mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt); extern u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt);
extern int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt);
/* mpc52xx_lpbfifo.c */ /* mpc52xx_lpbfifo.c */
#define MPC52XX_LPBFIFO_FLAG_READ (0) #define MPC52XX_LPBFIFO_FLAG_READ (0)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment