From patchwork Tue Mar 3 13:56:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9710 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 n23DuKxL001262 for ; Tue, 3 Mar 2009 13:56:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751405AbZCCN4V (ORCPT ); Tue, 3 Mar 2009 08:56:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750946AbZCCN4V (ORCPT ); Tue, 3 Mar 2009 08:56:21 -0500 Received: from zone0.gcu-squad.org ([212.85.147.21]:13934 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbZCCN4U (ORCPT ); Tue, 3 Mar 2009 08:56:20 -0500 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=hyperion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1LeWAa-0006hL-SY (TLSv1:AES256-SHA:256) (envelope-from ) for linux-media@vger.kernel.org; Tue, 03 Mar 2009 16:04:33 +0100 Date: Tue, 3 Mar 2009 14:56:12 +0100 From: Jean Delvare To: linux-media@vger.kernel.org Subject: [PATCH] Drop I2C_M_IGNORE_NAK compatibility bit Message-ID: <20090303145612.67ffdb90@hyperion.delvare> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; x86_64-suse-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 I2C_M_IGNORE_NAK is defined since kernel 2.5.54 so we don't need to declare it in the compatibility header. Signed-off-by: Jean Delvare --- v4l/compat.h | 4 ---- 1 file changed, 4 deletions(-) --- v4l-dvb.orig/v4l/compat.h 2009-03-01 16:09:10.000000000 +0100 +++ v4l-dvb/v4l/compat.h 2009-03-03 14:39:16.000000000 +0100 @@ -41,10 +41,6 @@ # define __pure __attribute__((pure)) #endif -#ifndef I2C_M_IGNORE_NAK -# define I2C_M_IGNORE_NAK 0x1000 -#endif - /* device_create/destroy added in 2.6.18 */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) /* on older kernels, class_device_create will in turn be a compat macro */