Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147Ab2F3TUi (ORCPT ); Sat, 30 Jun 2012 15:20:38 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:52924 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066Ab2F3TUh (ORCPT ); Sat, 30 Jun 2012 15:20:37 -0400 From: Arnd Bergmann Organization: Linaro Limited To: Thierry Reding Subject: Re: linux-next: build failure after merge of the final tree (pwm tree related) Date: Sat, 30 Jun 2012 19:20:21 +0000 User-Agent: KMail/1.12.2 (Linux/3.5.0-rc1+; KDE/4.3.2; x86_64; ; ) Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sascha Hauer References: <20120629174826.546cc991459b12833f2aaebd@canb.auug.org.au> <20120630181006.GC23990@avionic-0098.adnet.avionic-design.de> In-Reply-To: <20120630181006.GC23990@avionic-0098.adnet.avionic-design.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201206301920.21158.arnd.bergmann@linaro.org> X-Provags-ID: V02:K0:47HVq6jZpZwWES7L+5l0uxVIveo/ZNNTinAlfyaBqAu t7ztSbukVDVWbIqzHNExUnRmIjGiaqCnT9c0xJOGUlxI7VR6Qk WQAf6orG+FPMygJLSXvAUqnGDnF6o5pDU17o7neUsgHUwzqqsY K4Lh8indiaPu1wTlsKoaKTKRyev+SE4rTFZkJdSzgnRYI2QDZ/ foDMdu656DD8LoiJxnmVcTZlJrkAcixAX/SIz8bD1WfWFilMLp EYngeIW2bIpMQWUedkLROATzYMOxOeCb2JANqx8gLbKrHNB/Qm VDZwE8uuSeDFsP1iaCdaHy3clBDgU+z0mMFXIZXLWOsyEWdpOO ytOYk3gdN/8t/O6+eopx79DzAwY1ync2yUjwWersI Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 24 On Saturday 30 June 2012, Thierry Reding wrote: > I hadn't thought about the allyesconfig case yet. Adding a "depends on > !HAVE_PWM" to the PWM symbol should work and is the easiest fix to this > kind of problem while other PWM legacy API implementations are ported to > the PWM subsystem. > > Sascha, Arnd (Cc'ed): what do you think? > > I don't know if I'll get enough time to test this over the weekend but I > should get to it when I'm back in the office on Monday. > You cannot depend on a symbol in the same place that provides it -- that would be a recursive dependency (or a paradox). I think that all the drivers that are not converted to the common PWM layer yet should depend on not enabling the common code. Once they are all moved over, that dependency will go away. Arnd -- 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/