Thread (52 messages) 52 messages, 7 authors, 2012-06-11
STALE5156d

[PATCH 6.2/7] MMC: mmci: Enable Device Tree support for ux500

From: Russell King - ARM Linux <hidden>
Date: 2012-04-25 18:57:47

On Mon, Apr 16, 2012 at 10:26:08AM +0100, Lee Jones wrote:
+	/* Must have platform data or Device Tree. */
+	if (!plat && !np) {
+		dev_err(&dev->dev, "No plat data or DT found\n");
+		return -EINVAL;
 	}
 
+	if (np)
+		mmci_dt_populate_generic_pdata(np, plat);
Please tell me what happens if plat is NULL, but we're running on a DT
enabled platform.  Something tells me that you might just want to fix
that case _before_ I apply your patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help