lkml.org 
[lkml]   [2003]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CRIS architecture update
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.024 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site