From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v6 17/17] pwm: Take over maintainership of the PWM subsystem Date: Mon, 16 Apr 2012 15:02:32 +0000 Message-ID: <201204161502.32620.arnd@arndb.de> References: <1334070400-25013-1-git-send-email-thierry.reding@avionic-design.de> <20120412122740.GB5353@avionic-0098.adnet.avionic-design.de> <20120416055012.GA3037@avionic-0098.adnet.avionic-design.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120416055012.GA3037-RM9K5IK7kjIyiCvfTdI0JKcOhU4Rzj621B7CTYaBSLdn68oJJulU0Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding Cc: Stephen Rothwell , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sascha Hauer , Matthias Kaehlcke , Kurt Van Dijck , Rob Herring , Grant Likely , Colin Cross , Olof Johansson , Stephen Warren , Richard Purdie , Mark Brown , Mitch Bradley , Mike Frysinger , Eric Miao , Lars-Peter Clausen , Ryan Mallon , Shawn Guo , Bernhard Walle List-Id: linux-tegra@vger.kernel.org On Monday 16 April 2012, Thierry Reding wrote: > Seems like this issue is resolved, but something else came up. In the !OF > builds, of_pwm_request() no longer builds because of_property_match_string() > and of_parse_phandle_with_args() have no dummies for !OF. I've posted patches > for these on Friday and they need to go in before the PWM subsystem. I could > also revert the IS_ENABLED() parts and go back to a #ifdef CONFIG_OF but I'd > rather not. > Agreed, using IS_ENABLED from C code is much nicer than #ifdef because we can be sure that all code actually builds. Arnd