aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/omap-gpmc.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2021-07-27 13:10:34 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-29 09:02:27 +0200
commit77ed5e9dec551765bde9f2e4b7ed9071ff03d61d (patch)
tree561fafbd569abf155f547e7f3b74624a640dee09 /include/linux/omap-gpmc.h
parentmemory: omap-gpmc: Clear GPMC_CS_CONFIG7 register on restore if unused (diff)
downloadwireguard-linux-77ed5e9dec551765bde9f2e4b7ed9071ff03d61d.tar.xz
wireguard-linux-77ed5e9dec551765bde9f2e4b7ed9071ff03d61d.zip
memory: omap-gpmc: Drop custom PM calls with cpu_pm notifier
We can now switch over to using cpu_pm instead of custom calls and make the context save and restore functions static. Let's also move the save and restore functions to avoid adding forward declarations for them. And get rid of the static data pointer while at it. Cc: Roger Quadros <rogerq@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20210727101034.32148-2-tony@atomide.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'include/linux/omap-gpmc.h')
-rw-r--r--include/linux/omap-gpmc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/omap-gpmc.h b/include/linux/omap-gpmc.h
index b7bf735960c2..082841908fe7 100644
--- a/include/linux/omap-gpmc.h
+++ b/include/linux/omap-gpmc.h
@@ -81,9 +81,6 @@ extern int gpmc_configure(int cmd, int wval);
extern void gpmc_read_settings_dt(struct device_node *np,
struct gpmc_settings *p);
-extern void omap3_gpmc_save_context(void);
-extern void omap3_gpmc_restore_context(void);
-
struct gpmc_timings;
struct omap_nand_platform_data;
struct omap_onenand_platform_data;