From patchwork Wed Jun 17 10:20:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 30824 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5HAKWUm004622 for ; Wed, 17 Jun 2009 10:20:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758637AbZFQKU1 (ORCPT ); Wed, 17 Jun 2009 06:20:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757741AbZFQKU1 (ORCPT ); Wed, 17 Jun 2009 06:20:27 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:58174 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756665AbZFQKU1 (ORCPT ); Wed, 17 Jun 2009 06:20:27 -0400 Received: from muru.com ([72.249.23.125] helo=localhost.localdomain) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1MGsFp-000Fzy-8s; Wed, 17 Jun 2009 10:20:29 +0000 Received: from Mutt by mutt-smtp-wrapper.pl 1.2 (www.zdo.com/articles/mutt-smtp-wrapper.shtml) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 72.249.23.125 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX189pLwuviCDE7ItER7KrpNH Date: Wed, 17 Jun 2009 03:20:21 -0700 From: Tony Lindgren To: Ben Dooks Cc: i2c , linux-omap@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk Subject: [PATCH] i2c-omap: Fix build breaking typo cpu_is_omap_2430 Message-ID: <20090617102020.GJ6605@atomide.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Ben, Can you please queue this fix? Thanks, Tony From ffe2b2cdf6283770b70a197e3748c6b40a1006be Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 17 Jun 2009 13:14:23 +0300 Subject: [PATCH] i2c-omap: Fix build breaking typo in cpu_is_omap_2430 Commit 84bf2c86 introduced a typo, it should be cpu_is_omap2430 instead. The typo was probably caused by a mismerge. Without this patch all omaps fail to build with: error: implicit declaration of function 'cpu_is_omap_2430' Signed-off-by: Tony Lindgren diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index b606db8..ad8d201 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -339,7 +339,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev) * to get longer filter period for better noise suppression. * The filter is iclk (fclk for HS) period. */ - if (dev->speed > 400 || cpu_is_omap_2430()) + if (dev->speed > 400 || cpu_is_omap2430()) internal_clk = 19200; else if (dev->speed > 100) internal_clk = 9600;