diff options
Diffstat (limited to 'drivers/sh/pfc/core.h')
-rw-r--r-- | drivers/sh/pfc/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/sh/pfc/core.h b/drivers/sh/pfc/core.h index b07ae259c0eb..f3032b232fb0 100644 --- a/drivers/sh/pfc/core.h +++ b/drivers/sh/pfc/core.h | |||
@@ -20,14 +20,18 @@ struct pfc_window { | |||
20 | unsigned long size; | 20 | unsigned long size; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | struct sh_pfc_chip; | ||
24 | |||
23 | struct sh_pfc { | 25 | struct sh_pfc { |
24 | struct sh_pfc_platform_data *pdata; | 26 | struct sh_pfc_platform_data *pdata; |
25 | spinlock_t lock; | 27 | spinlock_t lock; |
26 | 28 | ||
27 | struct pfc_window *window; | 29 | struct pfc_window *window; |
30 | struct sh_pfc_chip *gpio; | ||
28 | }; | 31 | }; |
29 | 32 | ||
30 | int sh_pfc_register_gpiochip(struct sh_pfc *pfc); | 33 | int sh_pfc_register_gpiochip(struct sh_pfc *pfc); |
34 | int sh_pfc_unregister_gpiochip(struct sh_pfc *pfc); | ||
31 | 35 | ||
32 | int sh_pfc_register_pinctrl(struct sh_pfc *pfc); | 36 | int sh_pfc_register_pinctrl(struct sh_pfc *pfc); |
33 | 37 | ||