lkml.org 
[lkml]   [2013]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] USB: ohci-at91: add usb_clk for transition to common clk framework
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



\
 
 \ /
  Last update: 2013-08-01 20:01    [W:0.064 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site