diff mbox

[03/15] mfd: Make MFD core code Device Tree and IRQ domain aware

Message ID 4FF17081.9000005@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Lee Jones July 2, 2012, 9:57 a.m. UTC
Hi Sam,

Something like this what you were after?

From: Lee Jones <lee.jones@linaro.org>
Date: Mon, 2 Jul 2012 10:50:19 +0100
Subject: [PATCH] MFD: Attaching a node to new 'struct mfd_cell' of_compatible
 variable

Applying a succinct description to the of_compatible variable recently
added to the mfd_cell struct. Also link to the documentation page where
more information can be found about compatible properties.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 include/linux/mfd/core.h |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Samuel Ortiz July 2, 2012, 3:01 p.m. UTC | #1
Hi Lee,

On Mon, Jul 02, 2012 at 10:57:21AM +0100, Lee Jones wrote:
> Hi Sam,
> 
> Something like this what you were after?
Yes, patch applied. Thanks.

Cheers,
Samuel.
diff mbox

Patch

diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index 99b7eb1..3a8435a 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -36,6 +36,10 @@  struct mfd_cell {
 	/* platform data passed to the sub devices drivers */
 	void			*platform_data;
 	size_t			pdata_size;
+	/*
+	 * Device Tree compatible string
+	 * See: Documentation/devicetree/usage-model.txt Chapter 2.2 for details
+	 */
 	const char		*of_compatible;
 
 	/*