Re: [linux-usb-devel] [BK PATCH] USB changes for 2.6.6

From: Linus Torvalds
Date: Sun May 16 2004 - 13:03:25 EST




On Sun, 16 May 2004, David Brownell wrote:
>
> Speaking of which, please consider merging this. It
> missed Greg's push on Friday, but it's needed to build
> OHCI and EHCI with CONFIG_USB_DEBUG when !CONFIG_PM.

I really have #ifdef's inside code. Even when it is in header files.

So I'd much rather just have two different functions, one in the CONFIG_PM
section, and one in the !CONFIG_PM one. That's how we already do
everything else in that header file (and how we handle PCI etc).

Linus
-
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/