Message ID | 1434383399-2370-6-git-send-email-vaibhav.hiremath@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCMNZUWXYYORBAPK7OVQKGQEYCQ6UUA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 385DB205DE for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 15:53:38 +0000 (UTC) Received: by wicnd19 with SMTP id nd19sf7874578wic.0 for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 08:53:37 -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=fHPifPjOZYKCt5U2oQ8CjN3JPQ2c+NhAbmK4IfOFZDM=; b=UrVFGTjoHH0b6BbfYbnYoYprW2pvp0e1iivFRhpA4JW6Vj22q/Jpodufba5RfPiaRm JIf/esUXIpU8dUcAwlq1IVpZl+p6bsaiMRe4P1JfmkMsF/LE8S/dKaWFx5gpXZvjs1n2 3TOswaaVCwMn1q2twQSaDZ6jxh/WM0URP6OM6zKWb3/m863eZ1Z7AAxbvdMFD7Wt6JMZ 1YZn+1nTyZhrHkzYoFn/P/zl5cwl5pYHqPY6E0Ul+ADQA1NWm0eurwAiHVk+Jo8wc/T+ 9rmeXZIGnRoN/u9f8XTGcqdoRWllaCoWF71+0FnZjUoW/FzJU0Ym8EWgtzy/pnERN0I1 b1Pg== X-Gm-Message-State: ALoCoQnmP65tVlJTL5tCfip2dKt60NXiKycqxXru9bLQAkKs0Whj+he9DqyqhAbQF/tNS+G/ZJv4 X-Received: by 10.180.97.9 with SMTP id dw9mr20192665wib.2.1434383617568; Mon, 15 Jun 2015 08:53:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.161 with SMTP id jp1ls837321lab.96.gmail; Mon, 15 Jun 2015 08:53:37 -0700 (PDT) X-Received: by 10.152.25.198 with SMTP id e6mr27691121lag.83.1434383617400; Mon, 15 Jun 2015 08:53:37 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id jm1si10802780lbc.84.2015.06.15.08.53.37 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 08:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by laka10 with SMTP id a10so13208183lak.0 for <patchwork-forward@linaro.org>; Mon, 15 Jun 2015 08:53:37 -0700 (PDT) X-Received: by 10.112.131.98 with SMTP id ol2mr943223lbb.56.1434383617236; Mon, 15 Jun 2015 08:53:37 -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 hn6csp1508844lbb; Mon, 15 Jun 2015 08:53:36 -0700 (PDT) X-Received: by 10.70.131.33 with SMTP id oj1mr49545455pdb.3.1434383615480; Mon, 15 Jun 2015 08:53:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si18495084pdr.64.2015.06.15.08.53.34; Mon, 15 Jun 2015 08:53:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-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 S1755821AbbFOPxe (ORCPT <rfc822;vaibhav.hiremath@linaro.org> + 1 other); Mon, 15 Jun 2015 11:53:34 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33413 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755790AbbFOPxd (ORCPT <rfc822; linux-i2c@vger.kernel.org>); Mon, 15 Jun 2015 11:53:33 -0400 Received: by padev16 with SMTP id ev16so68196701pad.0 for <linux-i2c@vger.kernel.org>; Mon, 15 Jun 2015 08:53:33 -0700 (PDT) X-Received: by 10.66.119.70 with SMTP id ks6mr49657303pab.78.1434383613146; Mon, 15 Jun 2015 08:53:33 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id fs16sm12662484pdb.12.2015.06.15.08.53.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 08:53:32 -0700 (PDT) From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> To: linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, wsa@the-dreams.de, robert.jarzmik@free.fr, Yipeng Yao <ypyao@marvell.com>, Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Subject: [PATCH-V2 05/12] i2c: pxa: Remove compile warnning in 64bit mode Date: Mon, 15 Jun 2015 21:19:52 +0530 Message-Id: <1434383399-2370-6-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434383399-2370-1-git-send-email-vaibhav.hiremath@linaro.org> References: <vaibhav.hiremath@linaro.org> <1434383399-2370-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-i2c@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.215.49 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 edacfeb3..810e9d0 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -1124,7 +1124,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 = (long)(of_id->data); + return 0; }