Message ID | 1368019749-19455-5-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | a3ef0deb0fa45781ab653d7c9271e02c152076f1 |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBBYVGVGGAKGQE7R3KSVQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f198.google.com (mail-gg0-f198.google.com [209.85.161.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3EC47238FB for <linaro@patches.linaro.org>; Wed, 8 May 2013 13:30:32 +0000 (UTC) Received: by mail-gg0-f198.google.com with SMTP id p4sf1931055ggn.5 for <linaro@patches.linaro.org>; Wed, 08 May 2013 06:30:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=g9BDvt5R/RftBDzl6/51x1f7VnJM/kP+fT5RRY28os4=; b=CU9fx4CRS41HH/ULjGc8SP4GV76T857NK40u8XHx3k7eQtpCc6Ychlhlad+NlQnnVv jEEuoy1fsXz9XDGWqixFvU6eFeLl5tZj6TCO7tvMe5UfGBtpPBy1x9cmt9fnKigWa03w 1LJ/hg4nGQzGqyo/Y6eHmSvYgJWvWpQ+dNLZRRyiDB6TPQwM7OO97xMYKAO8yOR2SM3y zPpXRkTDCpg4fC1xWoPRz3Y8/lTOwB0ADVbqtX+fs/YvlAff9Bcl65B1kpqKcoTdK2rA QVDAKX0INDkJxBaA7OwEhM5JJWrbC7EtWP5jOeAqbe3IZ5gn0W5O6gRAvw6S7VIE+3SD XSnQ== X-Received: by 10.224.215.194 with SMTP id hf2mr7514274qab.0.1368019810925; Wed, 08 May 2013 06:30:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.15.66 with SMTP id v2ls859057qec.98.gmail; Wed, 08 May 2013 06:30:10 -0700 (PDT) X-Received: by 10.220.172.2 with SMTP id j2mr4490558vcz.17.1368019810574; Wed, 08 May 2013 06:30:10 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id iz8si15082518vdb.6.2013.05.08.06.30.10 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id gd11so1656716vcb.28 for <patchwork-forward@linaro.org>; Wed, 08 May 2013 06:30:10 -0700 (PDT) X-Received: by 10.220.189.9 with SMTP id dc9mr4491538vcb.8.1368019810486; Wed, 08 May 2013 06:30:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp6871veb; Wed, 8 May 2013 06:30:10 -0700 (PDT) X-Received: by 10.180.86.38 with SMTP id m6mr22021153wiz.25.1368019809546; Wed, 08 May 2013 06:30:09 -0700 (PDT) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [2a00:1450:400c:c00::236]) by mx.google.com with ESMTPS id fe7si1925783wib.77.2013.05.08.06.30.09 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:09 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::236 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c00::236; Received: by mail-wg0-f54.google.com with SMTP id x12so1838905wgg.33 for <patches@linaro.org>; Wed, 08 May 2013 06:30:09 -0700 (PDT) X-Received: by 10.180.37.109 with SMTP id x13mr19979710wij.20.1368019809159; Wed, 08 May 2013 06:30:09 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id h8sm7063221wiz.9.2013.05.08.06.30.07 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:08 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones <lee.jones@linaro.org>, Samuel Ortiz <sameo@linux.intel.com> Subject: [PATCH 4/9] mfd: db8500-prcmu: Supply the pdata_size attribute for db8500-thermal Date: Wed, 8 May 2013 14:29:04 +0100 Message-Id: <1368019749-19455-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368019749-19455-1-git-send-email-lee.jones@linaro.org> References: <1368019749-19455-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlhyXGubOqWDD4oeBgGpLFh5gmBnxaOmb4egEE9RCQzyCn4sQeXngwVOswqk4bn1dCezD1Y X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 319b8ab..5389368 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -3095,6 +3095,7 @@ static struct mfd_cell db8500_prcmu_devs[] = { .num_resources = ARRAY_SIZE(db8500_thsens_resources), .resources = db8500_thsens_resources, .platform_data = &db8500_thsens_data, + .pdata_size = sizeof(db8500_thsens_data), }, };
The MFD subsystem requires drivers to state the size of any platform data passed, or it will fail to assign it to the device. This will culminate in a NULL platform_data attribute and normally a failure to probe() or a kernel Oops. Cc: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/mfd/db8500-prcmu.c | 1 + 1 file changed, 1 insertion(+)