aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2013-04-29 16:17:14 -0700
committerLinus Torvalds <[email protected]>2013-04-29 18:28:13 -0700
commit657eee7d25fb1422422ca32d5619185ae56a245d (patch)
tree0591c85ff0b4757c0392396b3b1b0029241f8957 /include/linux/platform_data
parent4984c6f5e56c3e68922fd979347ba7aff385783b (diff)
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 <[email protected]> Acked-by: Javier Martin <[email protected]> Acked-by: Grant Likely <[email protected]> Cc: Michal Simek <[email protected]> Cc: Dong Aisheng <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Huang Shijie <[email protected]> Cc: Matt Porter <[email protected]> Cc: Paul Gortmaker <[email protected]> Cc: Rob Herring <[email protected]> Cc: Shawn Guo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/coda.h18
1 files changed, 18 insertions, 0 deletions
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