diff options
| author | Raag Jadav <raag.jadav@intel.com> | 2023-11-13 18:45:58 +0530 |
|---|---|---|
| committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-11-13 17:59:48 +0200 |
| commit | fc84abc4a9b25da0559622c41045212175d6732f (patch) | |
| tree | 98d869b7a7be44dce45871b235d120bf2e5b7126 /drivers/gpio/gpio-tangier.h | |
| parent | Linux 6.7-rc1 (diff) | |
| download | linux-fc84abc4a9b25da0559622c41045212175d6732f.tar.gz linux-fc84abc4a9b25da0559622c41045212175d6732f.zip | |
gpio: tangier: use EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS() helper
Use EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS() helper to export pm_ops to
GPIO_TANGIER namespace, so that they can be reused.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Link: https://lore.kernel.org/r/20231113131600.10828-2-raag.jadav@intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-tangier.h')
| -rw-r--r-- | drivers/gpio/gpio-tangier.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-tangier.h b/drivers/gpio/gpio-tangier.h index 16c4f22908fb..333e5f79b908 100644 --- a/drivers/gpio/gpio-tangier.h +++ b/drivers/gpio/gpio-tangier.h @@ -13,6 +13,7 @@ #define _GPIO_TANGIER_H_ #include <linux/gpio/driver.h> +#include <linux/pm.h> #include <linux/spinlock_types.h> #include <linux/types.h> @@ -114,4 +115,6 @@ int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio); int tng_gpio_suspend(struct device *dev); int tng_gpio_resume(struct device *dev); +extern const struct dev_pm_ops tng_gpio_pm_ops; + #endif /* _GPIO_TANGIER_H_ */ |
