From 657eee7d25fb1422422ca32d5619185ae56a245d Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Mon, 29 Apr 2013 16:17:14 -0700
Subject: media: coda: use genalloc API
This patch depends on "genalloc: add devres support, allow to find a
managed pool by device", which provides the of_get_named_gen_pool and
dev_get_gen_pool functions.
Signed-off-by: Philipp Zabel
Acked-by: Javier Martin
Acked-by: Grant Likely
Cc: Michal Simek
Cc: Dong Aisheng
Cc: Fabio Estevam
Cc: Greg Kroah-Hartman
Cc: Huang Shijie
Cc: Matt Porter
Cc: Paul Gortmaker
Cc: Rob Herring
Cc: Shawn Guo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
---
include/linux/platform_data/coda.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 include/linux/platform_data/coda.h
(limited to 'include')
diff --git a/include/linux/platform_data/coda.h b/include/linux/platform_data/coda.h
new file mode 100644
index 000000000000..6ad4410d9e20
--- /dev/null
+++ b/include/linux/platform_data/coda.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2013 Philipp Zabel, Pengutronix
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+#ifndef PLATFORM_CODA_H
+#define PLATFORM_CODA_H
+
+struct device;
+
+struct coda_platform_data {
+ struct device *iram_dev;
+};
+
+#endif
--
cgit v1.2.3