From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YSljR-0001Hw-NC for barebox@lists.infradead.org; Tue, 03 Mar 2015 12:15:28 +0000 From: Marc Kleine-Budde Date: Tue, 3 Mar 2015 13:14:51 +0100 Message-Id: <1425384899-18809-6-git-send-email-mkl@pengutronix.de> In-Reply-To: <1425384899-18809-1-git-send-email-mkl@pengutronix.de> References: <1425384899-18809-1-git-send-email-mkl@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3 05/13] sandbox: hostfile: probe(): add missing pointer from cdev.dev to dev To: barebox@lists.infradead.org Without this pointer the cdev will not be associated with the dev, of_find_path() relies on this. Signed-off-by: Marc Kleine-Budde --- arch/sandbox/board/hostfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index 5324da6f4802..6ec3b87efa86 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -75,6 +75,7 @@ static int hf_probe(struct device_d *dev) priv->cdev.name = hf->devname; priv->cdev.size = hf->size; + priv->cdev.dev = dev; priv->cdev.ops = &hf_fops; priv->cdev.priv = hf; -- 2.1.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox