diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2018-09-25 02:49:07 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-25 02:49:07 -0400 |
| commit | ff19473bdc2b59f73b71d5d25a6bc42d2b531c60 (patch) | |
| tree | 0125dc4f8a7570e6ddc3a4a50455ea515c51595b /include/linux/platform_data | |
| parent | c4c958aa64f31a962ddfdfb2ea628a25c774df25 (diff) | |
| parent | 5284521a290efd5418de79c205b612537ab2b12d (diff) | |
Merge branch 'ib-omap' into devel
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/gpio-omap.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/linux/platform_data/gpio-omap.h b/include/linux/platform_data/gpio-omap.h index 8612855691b2..8485c6a9a383 100644 --- a/include/linux/platform_data/gpio-omap.h +++ b/include/linux/platform_data/gpio-omap.h | |||
| @@ -197,23 +197,12 @@ struct omap_gpio_platform_data { | |||
| 197 | bool is_mpuio; /* whether the bank is of type MPUIO */ | 197 | bool is_mpuio; /* whether the bank is of type MPUIO */ |
| 198 | u32 non_wakeup_gpios; | 198 | u32 non_wakeup_gpios; |
| 199 | 199 | ||
| 200 | u32 quirks; /* Version specific quirks mask */ | ||
| 201 | |||
| 200 | struct omap_gpio_reg_offs *regs; | 202 | struct omap_gpio_reg_offs *regs; |
| 201 | 203 | ||
| 202 | /* Return context loss count due to PM states changing */ | 204 | /* Return context loss count due to PM states changing */ |
| 203 | int (*get_context_loss_count)(struct device *dev); | 205 | int (*get_context_loss_count)(struct device *dev); |
| 204 | }; | 206 | }; |
| 205 | 207 | ||
| 206 | #if IS_BUILTIN(CONFIG_GPIO_OMAP) | ||
| 207 | extern void omap2_gpio_prepare_for_idle(int off_mode); | ||
| 208 | extern void omap2_gpio_resume_after_idle(void); | ||
| 209 | #else | ||
| 210 | static inline void omap2_gpio_prepare_for_idle(int off_mode) | ||
| 211 | { | ||
| 212 | } | ||
| 213 | |||
| 214 | static inline void omap2_gpio_resume_after_idle(void) | ||
| 215 | { | ||
| 216 | } | ||
| 217 | #endif | ||
| 218 | |||
| 219 | #endif | 208 | #endif |
