Re: [PATCH] USB: ohci-at91: add usb_clk for transition to commonclk framework

From: Alan Stern
Date: Thu Aug 01 2013 - 13:38:50 EST


On Thu, 1 Aug 2013, Sergei Shtylyov wrote:

> > Yes. However, a more elegant approach is to protect the relevant
> > statements with: if (defined(CONFIG_COMMON_CLK)). This preprocessor
>
> You probably meant IS_ENABLED() or IS_BUIILTIN()? Or is there something I
> don't know about gcc preprocessor?

Yes, sorry, I meant IS_ENABLED(). Boris got it right.

Alan Stern

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