Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Feb 2002 10:01:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Feb 2002 10:01:16 -0500 Received: from ns.muni.cz ([147.251.4.33]:25342 "EHLO aragorn.ics.muni.cz") by vger.kernel.org with ESMTP id ; Tue, 5 Feb 2002 10:00:58 -0500 Date: Tue, 5 Feb 2002 16:00:54 +0100 From: Jan Kasprzak To: Marcelo Tosatti Cc: Adrian Bunk , linux-kernel@vger.kernel.org Subject: Re: [patch] fix 2.4.18-pre8 compile error in cosa.c Message-ID: <20020205150054.GE11523@informatics.muni.cz> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Adrian Bunk wrote: : the patch below fixes the following compile error in 2.4.18-pre8: Looks OK, please apply. : --- drivers/net/wan/cosa.c.old Tue Feb 5 15:37:20 2002 : +++ drivers/net/wan/cosa.c Tue Feb 5 15:47:37 2002 : @@ -105,13 +105,6 @@ : #include : #include "cosa.h" : : -/* Linux version stuff */ : -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1) : -typedef struct wait_queue *wait_queue_head_t; : -#define DECLARE_WAITQUEUE(wait, current) \ : - struct wait_queue wait = { current, NULL } : -#endif : - : /* Maximum length of the identification string. */ : #define COSA_MAX_ID_STRING 128 -Yenya -- | Jan "Yenya" Kasprzak | | GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E | | http://www.fi.muni.cz/~kas/ Czech Linux Homepage: http://www.linux.cz/ | |\ As anyone can tell you trying to force things on Linux developers /| |\\ generally works out pretty badly. (Alan Cox in lkml) //| - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/