Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269450AbTGJRD0 (ORCPT ); Thu, 10 Jul 2003 13:03:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265525AbTGJRAj (ORCPT ); Thu, 10 Jul 2003 13:00:39 -0400 Received: from storm.he.net ([64.71.150.66]:13989 "HELO storm.he.net") by vger.kernel.org with SMTP id S269417AbTGJQ75 (ORCPT ); Thu, 10 Jul 2003 12:59:57 -0400 Date: Thu, 10 Jul 2003 10:13:41 -0700 From: Greg KH To: Mikael Starvik Cc: "'Linux Kernel Mailing List'" Subject: Re: CRIS architecture update Message-ID: <20030710171341.GA12171@kroah.com> References: <3C6BEE8B5E1BAC42905A93F13004E8AB034C5655@mailse01.axis.se> <3C6BEE8B5E1BAC42905A93F13004E8AB03277A7D@mailse01.axis.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C6BEE8B5E1BAC42905A93F13004E8AB03277A7D@mailse01.axis.se> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 23 On Thu, Jul 10, 2003 at 07:24:58AM +0200, Mikael Starvik wrote: > Ok, do you have any other suggestion on how to make the driver > compilable for both >= 2.4.20 and < 2.4.20? As the driver is _in_ the kernel tree, why does it need to be compilable for older kernels? :) Anyway, yes, just use the structure name, not the typedef. That is backwards compatible. For example, don't use "urb_t" but instead, "struct urb". Hm, I think I did actually change one of the structure names, but I don't think you use that structure in the host controller. Hope this helps, greg k-h - 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/