Message ID | 1436859410-28878-5-git-send-email-vaibhav.hiremath@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCMNZUWXYYORBRXZSKWQKGQEBC5FEXY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C13D2202B9 for <linaro@patches.linaro.org>; Tue, 14 Jul 2015 07:39:50 +0000 (UTC) Received: by wgbbj7 with SMTP id bj7sf540156wgb.2 for <linaro@patches.linaro.org>; Tue, 14 Jul 2015 00:39:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=SLLl5CLrxD9JNVwVVgFqKmH2f12hHz7sg/O/b3s9OUg=; b=TDTHW+BcJmovZ60dtoA2xT0kb2y5XWLmVYgUvavHVEvPYzasVzmJHAfoBY9tEvpxD2 cAwcBiDUI6A2B5OwY+dCucUU69SekgpUuqW9kcNFCN41saA5NNaPWZvOcANpDcJ4KpAY 8IPsJbvrAIZPQufivbXiYxJshkfrrAIdX2cFJ2/gVCYdjDJ9HEmnxKE4jGfIuQlmOlSr xquP0sXQZiN9aFvtXDu7I5/3vpGCxmL3gQ9piyMuFWcLUgSsZO4ADgaI+8do15VqLugp SgAahaq7aCCh4Sf/Gx9GZix6oLdbgzWhY9kTLBP1BxfEsVPdtMHDWbkuSoJyAFK/u/Pq 433g== X-Gm-Message-State: ALoCoQlj/rDzfH9W0q8iGYdPOSY0ScGCm5GksrQ8DI5v68d7AS1G19lGOOu0O3XWFPpEQf+UOdfn X-Received: by 10.152.179.136 with SMTP id dg8mr20649803lac.4.1436859590086; Tue, 14 Jul 2015 00:39:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.228 with SMTP id h4ls8223lam.23.gmail; Tue, 14 Jul 2015 00:39:49 -0700 (PDT) X-Received: by 10.112.56.139 with SMTP id a11mr36289115lbq.90.1436859589905; Tue, 14 Jul 2015 00:39:49 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id k7si165531lbj.50.2015.07.14.00.39.49 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 00:39:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbpo10 with SMTP id po10so1062010lbb.3 for <patchwork-forward@linaro.org>; Tue, 14 Jul 2015 00:39:49 -0700 (PDT) X-Received: by 10.113.4.105 with SMTP id cd9mr30592885lbd.106.1436859589810; Tue, 14 Jul 2015 00:39:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2195157lbb; Tue, 14 Jul 2015 00:39:48 -0700 (PDT) X-Received: by 10.66.146.226 with SMTP id tf2mr78647278pab.4.1436859588089; Tue, 14 Jul 2015 00:39:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iw6si274272pbd.183.2015.07.14.00.39.47; Tue, 14 Jul 2015 00:39:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753238AbbGNHj1 (ORCPT <rfc822;matthew.hart@linaro.org> + 26 others); Tue, 14 Jul 2015 03:39:27 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:34959 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753202AbbGNHjZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Jul 2015 03:39:25 -0400 Received: by pdrg1 with SMTP id g1so1376999pdr.2 for <linux-kernel@vger.kernel.org>; Tue, 14 Jul 2015 00:39:24 -0700 (PDT) X-Received: by 10.66.97.39 with SMTP id dx7mr6022184pab.1.1436859564346; Tue, 14 Jul 2015 00:39:24 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id pe3sm275937pdb.55.2015.07.14.00.39.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 00:39:23 -0700 (PDT) From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> To: linux-i2c@vger.kernel.org Cc: wsa@the-dreams.de, robh+dt@kernel.org, robert.jarzmik@free.fr, yizhang@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yipeng Yao <ypyao@marvell.com>, Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Subject: [PATCH-v4 04/11] i2c: pxa: Fix compile warning in 64bit mode Date: Tue, 14 Jul 2015 13:06:43 +0530 Message-Id: <1436859410-28878-5-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436859410-28878-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436859410-28878-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index 632008f..d0cc058 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -1116,7 +1116,9 @@ static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, i2c->use_pio = 1; if (of_get_property(np, "mrvl,i2c-fast-mode", NULL)) i2c->fast_mode = 1; - *i2c_types = (u32)(of_id->data); + + *i2c_types = (enum pxa_i2c_types)(of_id->data); + return 0; }