From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Subject: Re: [PATCH 3/8] watchdog: wm831x watchdog really needs mfd To: Guenter Roeck , Arnd Bergmann References: <20170228210123.3404816-1-arnd@arndb.de> <20170228210123.3404816-4-arnd@arndb.de> <20170228213614.GB6651@roeck-us.net> <20170228231606.GA9885@roeck-us.net> Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Lee Jones , Linux Kernel Mailing List From: Randy Dunlap Message-ID: Date: Tue, 28 Feb 2017 18:50:42 -0800 MIME-Version: 1.0 In-Reply-To: <20170228231606.GA9885@roeck-us.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-ID: On 02/28/17 15:16, Guenter Roeck wrote: > On Tue, Feb 28, 2017 at 10:48:27PM +0100, Arnd Bergmann wrote: >> On Tue, Feb 28, 2017 at 10:44 PM, Arnd Bergmann wrote: >>> On Tue, Feb 28, 2017 at 10:36 PM, Guenter Roeck wrote: >>> >>>>> config WM831X_WATCHDOG >>>>> tristate "WM831x watchdog" >>>>> - depends on MFD_WM831X || COMPILE_TEST >>>>> + depends on MFD_WM831X >>>> >>>> I prefer the fix proposed by Randy: >>>> >>>> - depends on MFD_WM831X || COMPILE_TEST >>>> + depends on MFD_WM831X || (MFD_WM831X=y && COMPILE_TEST) >>>> >>> >>> Agreed, that's better. >> >> Actually I misread. They should be completely equivalent, the part after >> the || has no effect here. >> > Yes, I figured that out later as well. Agreed. Arnd's is simpler. My patch might keep someone else from making the same mistake. ;) -- ~Randy