summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/include
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2014-07-16 14:23:08 +0800
committerSteven Miao <realmz6@gmail.com>2014-07-26 08:32:44 +0800
commitc6a26ce9af9eca685bdd766bcc1dbc855394880b (patch)
treeda6acc64a8ae5fef612567cb4c51133dac78ffc8 /arch/blackfin/mach-bf609/include
parent9a3c4145af32125c5ee39c0272662b47307a8323 (diff)
downloadblackbird-obmc-linux-c6a26ce9af9eca685bdd766bcc1dbc855394880b.tar.gz
blackbird-obmc-linux-c6a26ce9af9eca685bdd766bcc1dbc855394880b.zip
pm: bf609: cleanup smc nor flash
drop smc pin state change code, pin state will be saved in pinctrl-adi2 driver cleanup nor flash init/exit for pm suspend/resume Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609/include')
-rw-r--r--arch/blackfin/mach-bf609/include/mach/pm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf609/include/mach/pm.h b/arch/blackfin/mach-bf609/include/mach/pm.h
index 3ca0fb965636..a1efd936dd30 100644
--- a/arch/blackfin/mach-bf609/include/mach/pm.h
+++ b/arch/blackfin/mach-bf609/include/mach/pm.h
@@ -10,6 +10,7 @@
#define __MACH_BF609_PM_H__
#include <linux/suspend.h>
+#include <linux/platform_device.h>
extern int bfin609_pm_enter(suspend_state_t state);
extern int bf609_pm_prepare(void);
@@ -19,6 +20,6 @@ void bf609_hibernate(void);
void bfin_sec_raise_irq(unsigned int sid);
void coreb_enable(void);
-int bf609_nor_flash_init(void);
-void bf609_nor_flash_exit(void);
+int bf609_nor_flash_init(struct platform_device *pdev);
+void bf609_nor_flash_exit(struct platform_device *pdev);
#endif
OpenPOWER on IntegriCloud