Received: by 10.192.165.148 with SMTP id m20csp4981052imm; Tue, 24 Apr 2018 11:34:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqCFUgcqszHX/9eR8r1fmTly1i7im8K/r2bOUzgoEvedKfyCnUbCXg3U10nVk7lM/HfKcm4 X-Received: by 10.99.65.197 with SMTP id o188mr3603017pga.280.1524594882601; Tue, 24 Apr 2018 11:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524594882; cv=none; d=google.com; s=arc-20160816; b=tyJ4dBhC/7OTMFlToPcE9eidT+eLI58WDUSunxvpB1m4Z5cBhPYu92SNo4Lt9oSVNN z6DsxeftV9gTOwNsvfN5xk9QHCflTKH0QSRtQlf5stOykLI0n7HwMrpPCXHfpQ+8dK5Z Q789cxjlfnxdWFqLdFS2oIAmDInIst1Nbev1NpK039G3PAQzXY37IWaKBYG5z/cbbDLM OtvUx6GW1MtT2BMEXmjiEhn3bsz2pX/2NGZCQnD78wED69uwbneqhr4LIU8jOKAcplo9 FPk7ROhb7PPXDiXev51nkiKj/k3paG/PBYjZ5xev69BAMbAp0AfiVhBm1L3ZP1rd9W6Z d1VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=mLJ61J9ntvnW2AFyk/iBdLKRbeZdd6b0ltYP7CtCu+U=; b=zDYzF2HKecWHlsJtmeOkBEARlKb8vQaXRdVw8rGy2bPY+8Jds5MJNMDVTu7zi6iVD3 5yNgnfZ0FnqwUn//jntQwSZFj+o4H8jvMh56sl9cNl6h466LPDqTXqpWmtSOaIXT247n LO7hyipkWKYkZiOCl67Bt5t6mWAZsEHwBjTkfzdBOGZgRXgPrIg9hpTGRbTfJsgCj3t8 00hDFedkIbDkQf9bR2awtavXQ2Dm1cjaRwgQAgGp7toR0emGDJacaWIdxaoDZsDFtKrT Hc8JRIbZey8Sg106Yq0rncQLABjRJUVBHi2w31NCWuDQ82ZfzLYRJkqouKuUmcLkaYUO xcZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xOAXe7j9; 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 x64si11036842pff.196.2018.04.24.11.34.28; Tue, 24 Apr 2018 11:34:42 -0700 (PDT) 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=@sirena.org.uk header.s=20170815-heliosphere header.b=xOAXe7j9; 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 S1752187AbeDXRqZ (ORCPT + 99 others); Tue, 24 Apr 2018 13:46:25 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43894 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbeDXRqX (ORCPT ); Tue, 24 Apr 2018 13:46:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=mLJ61J9ntvnW2AFyk/iBdLKRbeZdd6b0ltYP7CtCu+U=; b=xOAXe7j9yE6U wWqdrIU5S7U6Z8/mZ/wU5ePdVg56Qqo3RTJSg3adgFh/aQk1udwaGz7xehZZnPqGfmpQW1nJU44O3 Z/zI3DHg4jjAcMeGU9HmEfn9OAPJ7mGJ4Rjd6xAJCqFlatSTTli0UkEb+hF8PyPcvw4mC7/UC3MfR Mz5bY=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fB219-0000TQ-Dn; Tue, 24 Apr 2018 17:46:15 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1fB218-0003Z3-Qt; Tue, 24 Apr 2018 18:46:14 +0100 From: Mark Brown To: Sean Wang Cc: Mark Brown , matthias.bgg@gmail.com, rjw@rjwysocki.net, khilman@baylibre.com, ulf.hansson@linaro.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown , linux-kernel@vger.kernel.org Subject: Applied "regmap: include from include/linux/regmap.h" to the regmap tree In-Reply-To: Message-Id: Date: Tue, 24 Apr 2018 18:46:14 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch regmap: include from include/linux/regmap.h has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From f15cd6d99198e9c15229aefec639a34a6e8174c6 Mon Sep 17 00:00:00 2001 From: Sean Wang Date: Mon, 23 Apr 2018 14:42:44 +0800 Subject: [PATCH] regmap: include from include/linux/regmap.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to the readx_poll_timeout() macro calling ktime_* and using ktime_t type, which is declared in . So, make include/linux/regmap.h explicitly include , like include/linux/iopoll.h does. Otherwise, users of the macro will see below errors. error: implicit declaration of function ‘ktime_add_us’ [-Werror=implicit-function-declaration] error: implicit declaration of function ‘ktime_get’ [-Werror=implicit-function-declaration] error: implicit declaration of function ‘ktime_compare’ [-Werror=implicit-function-declaration] include/linux/regmap.h:128:2: error: unknown type name ‘ktime_t’ ktime_t __timeout = ktime_add_us(ktime_get(), __timeout_us); \ Signed-off-by: Sean Wang Signed-off-by: Mark Brown --- include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 5f7ad0552c03..b6865f070464 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -15,6 +15,7 @@ #include #include +#include #include #include #include -- 2.17.0