Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbZK3OBx (ORCPT ); Mon, 30 Nov 2009 09:01:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753548AbZK3OBx (ORCPT ); Mon, 30 Nov 2009 09:01:53 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:39016 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753490AbZK3OBw (ORCPT ); Mon, 30 Nov 2009 09:01:52 -0500 From: Mark Brown To: Liam Girdwood Cc: linux-kernel@vger.kernel.org, Mark Brown Subject: [PATCH 2.6.32] regulator: Initialise wm831x structure pointor for ISINK driver Date: Mon, 30 Nov 2009 14:01:56 +0000 Message-Id: <1259589716-14007-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.6.5.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 960 Lines: 29 The version that made it into mainline missed the initialisation of the chip handle. Signed-off-by: Mark Brown --- drivers/regulator/wm831x-isink.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 1d8d987..4885700 100644 --- a/drivers/regulator/wm831x-isink.c +++ b/drivers/regulator/wm831x-isink.c @@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev) return -ENOMEM; } + isink->wm831x = wm831x; + res = platform_get_resource(pdev, IORESOURCE_IO, 0); if (res == NULL) { dev_err(&pdev->dev, "No I/O resource\n"); -- 1.6.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/