Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3971318ybl; Mon, 3 Feb 2020 10:01:18 -0800 (PST) X-Google-Smtp-Source: APXvYqz9COb5NV70aafIauLSrGbFvAll6PXDOawRxCvRvSIcQHWm5aeUYWRpbTBXP3dxAixhUp+f X-Received: by 2002:aca:4e02:: with SMTP id c2mr196939oib.142.1580752878288; Mon, 03 Feb 2020 10:01:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580752878; cv=none; d=google.com; s=arc-20160816; b=Edxs3rJeF+J1zCDQgSYDh354tBOKvQiVHyjkYKxVIYy30zjEqP6qcUJpNh3TQpDZVs wi0/LHu63MMANrp2PSyHBnHegsQOub6vHJUkBL5WjCjXhXqfjJ3pvROE+rU3Cyr/o2Tw m6IunWlRlcK//+65wlOK0OCJh8j3brq33N8Yv8AT+WeHPBvK1GkQ4S8zUdtIFBhD0Hj4 UPdRjqM1B4L0P29Xc9qPoLYIlN6yCXd15xEpfwmat0Dd8Lyxl91rsWlV8Pb4ra0mxn5o nUChHnABkz8p0/JoenT5C/NfIyfaUurxo4kcH3dsun7VuIujY7q2IrM3FzinU43CkS1U qqHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature; bh=iQiWPAzdorVrbV0wQae916JQuzrnEd67qY6JDJtYWaw=; b=W59F04Bt4d1qDDSqjbs67T5MmxpbHbxfPs1cui/Kh+x4VB27Cot26XeReCW6DHbgwT wA/eq/twBFvuQ48GP5MDvjC1mOXKmT19kqgPcdZR6FhKDX340bSOf+dj8vwgf4usoLMm wBBBzaNdIKadUicRZlVGMysnaWYOt0CADfnEpHoNzrkxTVv4LNu84Vre7tR3QoGkcbf+ bPNCgNMrBhZ9oQcSW2JRKTORbotWvPZ2WbnWP2uP/zMLp2V76YcOGqOrMu0APMXIArnc c9R8Nvj0yntvwH/IbvITp8ky5JdMLbYlOIpFgGlcpOA9a7gEANX+uXqJQQ78JuXW26qV QkNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VEouXGI9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si8453979oiv.13.2020.02.03.10.01.06; Mon, 03 Feb 2020 10:01:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VEouXGI9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728613AbgBCQKf (ORCPT + 99 others); Mon, 3 Feb 2020 11:10:35 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:56340 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727708AbgBCQKf (ORCPT ); Mon, 3 Feb 2020 11:10:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=iQiWPAzdorVrbV0wQae916JQuzrnEd67qY6JDJtYWaw=; b=VEouXGI9u0eOThKqOvcmjEYx2r Q3TKm7qc6jddQj9Af+39I1uHazC9qTqIxhEIpOmtPdiY4WTw38NIaYxt+DPa0x3vnLcJ+o2IqPB1T HK3s99nnvFnx63QCcmR1pa5xO9vlj51ndvSDvgA7IZQz6cwvSvMDokagZdBUUTWXiyV+J3QChQP9c xJbior5x2ywe6r9opBBY/oYfm0RUFjN3LZCZC8ns5tnN2tFMrMknVvWMx6NhOQA54pOWAcmh7FMf/ 8WKUsLsgHsJ+S7rxW2LR3XUsTPf+aTOvMuR3bnS2mb3K6xdCJ5Veob4FtHRZQgj0BnddmR02dtADh XdKjyFlg==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iyeIx-00031V-JY; Mon, 03 Feb 2020 16:10:31 +0000 To: LKML , "linux-watchdog@vger.kernel.org" Cc: "wim@linux-watchdog.org" , Guenter Roeck , Matthias Brugger From: Randy Dunlap Subject: [PATCH -next] watchdog: fix mtk_wdt.c RESET_CONTROLLER build error Message-ID: <77c1e557-4941-3806-2933-6c3583576390@infradead.org> Date: Mon, 3 Feb 2020 08:10:29 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build error when CONFIG_RESET_CONTROLLER is not set by selecting RESET_CONTROLLER. ld: drivers/watchdog/mtk_wdt.o: in function `mtk_wdt_probe': mtk_wdt.c:(.text+0x3ec): undefined reference to `devm_reset_controller_register' Signed-off-by: Randy Dunlap Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: Matthias Brugger Cc: linux-watchdog@vger.kernel.org --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20200203.orig/drivers/watchdog/Kconfig +++ linux-next-20200203/drivers/watchdog/Kconfig @@ -841,6 +841,7 @@ config MEDIATEK_WATCHDOG tristate "Mediatek SoCs watchdog support" depends on ARCH_MEDIATEK || COMPILE_TEST select WATCHDOG_CORE + select RESET_CONTROLLER help Say Y here to include support for the watchdog timer in Mediatek SoCs.