On Tue, Jun 30, 2009 at 10:23:16PM +0800, loody wrote: > hi: > > 2009/6/30 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > > On Tue, 30 Jun 2009, loody wrote: > > > >> Hi: > >> > >> 2009/6/28 loody <miloody@xxxxxxxxx>: > >> > Dear all: > >> > I have ported my usb host driver on 2.6.25 but right now I have to > >> > change back to 2.6.18. > >> > I am wondering whether it is ok if I do the following steps: > >> > 1. replace header file located at include/linux/ in 2.6.18 with 2.6.25 > >> > 2. replace the usb folder in 2.6.18/drivers with one in 2.6.25/drivers > >> > >> I follow the steps I list above but find there are other header files > >> I have to change like device.h. > >> I am afraid of the kernel will be unstable if I boldly copy the > >> device.h from 2.6.25 to 2.6.18. > >> Does that mean my thought is wrong? > > > > In brief: Yes, your thought is wrong. > thanks for your help. > So the best way to do so is rewrite my usb host driver base on 2.6.18? Yes. Best of luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html