summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/include/mach
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-09-20 20:41:37 +0200
committerTony Lindgren <tony@atomide.com>2012-09-21 00:02:47 +0200
commit578fad4d16742b281a626a1d1725f2c16c386cf7 (patch)
tree44a395330bd7ed33945838d359e1a486ecb56bf3 /arch/arm/mach-omap1/include/mach
parentARM: OMAP2+: Make debug-devices.h local (diff)
downloadlinux-578fad4d16742b281a626a1d1725f2c16c386cf7.tar.xz
linux-578fad4d16742b281a626a1d1725f2c16c386cf7.zip
ARM: OMAP1: Move flash.h from plat to mach
This is only used by omap1. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/include/mach')
-rw-r--r--arch/arm/mach-omap1/include/mach/flash.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/include/mach/flash.h b/arch/arm/mach-omap1/include/mach/flash.h
new file mode 100644
index 000000000000..0d88499b79e9
--- /dev/null
+++ b/arch/arm/mach-omap1/include/mach/flash.h
@@ -0,0 +1,17 @@
+/*
+ * Flash support for OMAP1
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __OMAP_FLASH_H
+#define __OMAP_FLASH_H
+
+#include <linux/mtd/map.h>
+
+struct platform_device;
+extern void omap1_set_vpp(struct platform_device *pdev, int enable);
+
+#endif