Re: [PATCH RFC] USB: Add HCD fastboot

From: David Brownell
Date: Wed Aug 06 2008 - 23:34:58 EST


On Wednesday 06 August 2008, Simon Arlott wrote:
> +ifndef CONFIG_USB_FASTBOOT
> +  obj-y                                += $(tmp-y)
> +endif
>  
>  obj-$(CONFIG_USB_ACM)          += class/
>  obj-$(CONFIG_USB_PRINTER)      += class/
> @@ -34,3 +40,7 @@ obj-$(CONFIG_USB)             += misc/
>  
>  obj-$(CONFIG_USB_ATM)          += atm/
>  obj-$(CONFIG_USB_SPEEDTOUCH)   += atm/
> +
> +ifdef CONFIG_USB_FASTBOOT
> +  obj-y                                += $(tmp-y)
> +endif

If you want to do such stuff, don't be conditional.
Just change it so USB is *always* earlier.

We really don't need to make boot sequences become
even harder to understand/predict.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/