From patchwork Fri Nov 5 20:07:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 304752 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA5K84d3007713 for ; Fri, 5 Nov 2010 20:08:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752712Ab0KEUIB (ORCPT ); Fri, 5 Nov 2010 16:08:01 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:7656 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752270Ab0KEUIA (ORCPT ); Fri, 5 Nov 2010 16:08:00 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=endymion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1PESg0-0002vT-IE (TLSv1:AES128-SHA:128) (envelope-from ) ; Fri, 05 Nov 2010 21:14:20 +0100 Date: Fri, 5 Nov 2010 21:07:53 +0100 From: Jean Delvare To: Linux I2C , LMML Cc: Michael Hunold , Mauro Carvalho Chehab Subject: [PATCH 2/3] i2c: Drivers shouldn't include Message-ID: <20101105210753.4d1a03bc@endymion.delvare> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 05 Nov 2010 20:08:04 +0000 (UTC) --- linux-2.6.37-rc1.orig/drivers/media/common/saa7146_i2c.c 2010-11-02 09:19:35.000000000 +0100 +++ linux-2.6.37-rc1/drivers/media/common/saa7146_i2c.c 2010-11-05 15:34:25.000000000 +0100 @@ -391,7 +391,6 @@ static int saa7146_i2c_xfer(struct i2c_a /*****************************************************************************/ /* i2c-adapter helper functions */ -#include /* exported algorithm data */ static struct i2c_algorithm saa7146_algo = { --- linux-2.6.37-rc1.orig/drivers/media/video/ir-kbd-i2c.c 2010-11-02 09:19:35.000000000 +0100 +++ linux-2.6.37-rc1/drivers/media/video/ir-kbd-i2c.c 2010-11-05 15:34:18.000000000 +0100 @@ -44,7 +44,6 @@ #include #include #include -#include #include #include --- linux-2.6.37-rc1.orig/drivers/staging/olpc_dcon/olpc_dcon.c 2010-11-02 09:19:37.000000000 +0100 +++ linux-2.6.37-rc1/drivers/staging/olpc_dcon/olpc_dcon.c 2010-11-05 15:34:14.000000000 +0100 @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include