aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/omap-gpmc.h
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-07-10 15:23:28 +0300
committerRoger Quadros <rogerq@ti.com>2016-04-15 11:50:44 +0300
commit58bc67fc32b1c67fb045f4828a67134dc8fee631 (patch)
tree16c397f712f27bdfd5a0394661220de5d82b2a9e /include/linux/omap-gpmc.h
parentLinux 4.6-rc1 (diff)
downloadwireguard-linux-58bc67fc32b1c67fb045f4828a67134dc8fee631.tar.xz
wireguard-linux-58bc67fc32b1c67fb045f4828a67134dc8fee631.zip
ARM: OMAP2+: gpmc: Add platform data
Add a platform data structure for GPMC. It contains all the necessary platform information that needs to be passed from platform init code to GPMC driver. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/omap-gpmc.h')
-rw-r--r--include/linux/omap-gpmc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/omap-gpmc.h b/include/linux/omap-gpmc.h
index d833eb4dd446..45d9075be1e5 100644
--- a/include/linux/omap-gpmc.h
+++ b/include/linux/omap-gpmc.h
@@ -7,8 +7,7 @@
* option) any later version.
*/
-/* Maximum Number of Chip Selects */
-#define GPMC_CS_NUM 8
+#include <linux/platform_data/gpmc-omap.h>
#define GPMC_CONFIG_WP 0x00000005