Re: CRIS architecture update

Greg KH (greg@kroah.com)
Thu, 10 Jul 2003 10:13:41 -0700


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/