On Fri, 15 Nov 2002, Duncan Haldane wrote:

| On 15-Nov-2002 Pete Zaitcev wrote:
| >
| > I wrote Randy and proposed to move cpia_usb.c over to the
| > drivers/usb directory. The problem is that supporting
| > dependencies between drivers/media and drivers/usb is fragile:
| > someone can break them later as a side effect.
|
| OK.   I tested this and it seems to work fine with cpia_usb.o in
| drivers/usb/usbdrv.o rather than /drivers/media/media.o
|
| One issue is the
| # include "cpia.h"
| in drivers/usb/cpia_usb.c
|
| now this has to be
| #include "../media/video/cpia.h"
|
| is this acceptable practice in the kernel source, or must
It's been done before but it's undesirable.

| I now also move  drivers/media/video/cpia.h to (say) include/linux/cpia.h
| (I would prefer not to completely split up the cpia d sources like this.)

How about not splitting them up and all and just do like Alan
suggested:  move drivers/media.o to near the end of the list,
after USB.  Does that work (fix the problem)?

| Are there any special complications of moving things like this that
| I should be alert for?

-- 
~Randy



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to