Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754641Ab3HARir (ORCPT ); Thu, 1 Aug 2013 13:38:47 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:57855 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752011Ab3HARiq (ORCPT ); Thu, 1 Aug 2013 13:38:46 -0400 Date: Thu, 1 Aug 2013 13:38:45 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Sergei Shtylyov cc: boris brezillon , Greg Kroah-Hartman , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Ludovic Desroches , , , Subject: Re: [PATCH] USB: ohci-at91: add usb_clk for transition to common clk framework In-Reply-To: <51FA9B20.3080304@cogentembedded.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 622 Lines: 17 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/