On 16-Nov-2002 Alan Cox wrote: > On Fri, 2002-11-15 at 19:56, 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. > > That media is not right near the end is a quirk of history nothing more. > It ought to be after usb
OK!! I like this.... This is the simplest quickest solution without touching the usb position in the drivers list. Patch attached.... Any chance it can get into 2.4.20 to close this Oops saga? Duncan Haldane diff -uNr linux-2.4.20-rc2/Makefile linux-2.4.20-rc2-media/Makefile --- linux-2.4.20-rc2/Makefile Fri Nov 15 21:51:22 2002 +++ linux-2.4.20-rc2-media/Makefile Fri Nov 15 23:12:29 2002 @@ -137,8 +137,7 @@ DRIVERS-y += drivers/char/char.o \ drivers/block/block.o \ drivers/misc/misc.o \ - drivers/net/net.o \ - drivers/media/media.o + drivers/net/net.o DRIVERS-$(CONFIG_AGP) += drivers/char/agp/agp.o DRIVERS-$(CONFIG_DRM_NEW) += drivers/char/drm/drm.o DRIVERS-$(CONFIG_DRM_OLD) += drivers/char/drm-4.0/drm.o @@ -179,6 +178,7 @@ DRIVERS-$(CONFIG_HAMRADIO) += drivers/net/hamradio/hamradio.o DRIVERS-$(CONFIG_TC) += drivers/tc/tc.a DRIVERS-$(CONFIG_USB) += drivers/usb/usbdrv.o +DRIVERS-y +=drivers/media/media.o DRIVERS-$(CONFIG_INPUT) += drivers/input/inputdrv.o DRIVERS-$(CONFIG_HIL) += drivers/hil/hil.o DRIVERS-$(CONFIG_I2O) += drivers/message/i2o/i2o.o ---------------------------------- E-Mail: Duncan Haldane <[EMAIL PROTECTED]> Date: 15-Nov-2002 Time: 21:40:56 This message was sent by XFMail ----------------------------------
linux-2.4.20-rc2-media.patch
Description: Binary data