From patchwork Mon Dec 20 07:37:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xulei X-Patchwork-Id: 76175 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 68C98B70EF for ; Mon, 20 Dec 2010 20:16:27 +1100 (EST) Received: by ozlabs.org (Postfix) id C80AAB7080; Mon, 20 Dec 2010 18:34:26 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from VA3EHSOBE001.bigfish.com (va3ehsobe001.messaging.microsoft.com [216.32.180.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Cybertrust SureServer Standard Validation CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 54391B6F1E for ; Mon, 20 Dec 2010 18:34:25 +1100 (EST) Received: from mail40-va3-R.bigfish.com (10.7.14.237) by VA3EHSOBE001.bigfish.com (10.7.40.21) with Microsoft SMTP Server id 14.1.225.8; Mon, 20 Dec 2010 07:34:21 +0000 Received: from mail40-va3 (localhost.localdomain [127.0.0.1]) by mail40-va3-R.bigfish.com (Postfix) with ESMTP id 10B551280331; Mon, 20 Dec 2010 07:34:21 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h63h) X-Spam-TCS-SCL: 2:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:de01egw01.freescale.net; RD:de01egw01.freescale.net; EFVD:NLI Received: from mail40-va3 (localhost.localdomain [127.0.0.1]) by mail40-va3 (MessageSwitch) id 1292830460809311_3643; Mon, 20 Dec 2010 07:34:20 +0000 (UTC) Received: from VA3EHSMHS031.bigfish.com (unknown [10.7.14.242]) by mail40-va3.bigfish.com (Postfix) with ESMTP id B84251A3804C; Mon, 20 Dec 2010 07:34:20 +0000 (UTC) Received: from de01egw01.freescale.net (192.88.165.102) by VA3EHSMHS031.bigfish.com (10.7.99.41) with Microsoft SMTP Server (TLS) id 14.1.225.8; Mon, 20 Dec 2010 07:34:20 +0000 Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by de01egw01.freescale.net (8.14.3/8.14.3) with ESMTP id oBK7asJ3000229; Mon, 20 Dec 2010 00:36:54 -0700 (MST) Received: from localhost.localdomain (xulei-desktop.ap.freescale.net [10.193.20.28]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id oBK7YGlZ013723; Mon, 20 Dec 2010 01:34:16 -0600 (CST) From: Xulei To: Subject: [PATCH] I2C: Add support for 64bit system. Date: Mon, 20 Dec 2010 15:37:34 +0800 Message-ID: <1292830654-7056-1-git-send-email-B33228@freescale.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-Mailman-Approved-At: Mon, 20 Dec 2010 20:16:20 +1100 Cc: linuxppc-dev@ozlabs.org, Xulei X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Currently I2C_MPC supports 32bit system only, then this modification makes it support 32bit and 64bit system both. Signed-off-by: Xulei --- drivers/i2c/busses/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 9c6170c..3392f4b 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -422,7 +422,7 @@ config I2C_IXP2000 config I2C_MPC tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" - depends on PPC32 + depends on PPC32 || PPC64 help If you say yes to this option, support will be included for the built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,