From patchwork Thu Oct 13 10:07:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77609 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp157677qge; Thu, 13 Oct 2016 03:20:46 -0700 (PDT) X-Received: by 10.99.221.85 with SMTP id g21mr7389646pgj.121.1476354046202; Thu, 13 Oct 2016 03:20:46 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 132si10423619pgg.76.2016.10.13.03.20.45; Thu, 13 Oct 2016 03:20:46 -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=pass header.i=@nifty.com; 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 S1753508AbcJMKUk (ORCPT + 27 others); Thu, 13 Oct 2016 06:20:40 -0400 Received: from condef007-v.nifty.com ([210.131.4.244]:40887 "EHLO condef007-v.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbcJMKUh (ORCPT ); Thu, 13 Oct 2016 06:20:37 -0400 Received: from conuserg-08.nifty.com ([10.26.8.71])by condef007-v.nifty.com with ESMTP id u9DA80OK029326 for ; Thu, 13 Oct 2016 19:08:00 +0900 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id u9DA5Yd1028336; Thu, 13 Oct 2016 19:05:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com u9DA5Yd1028336 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1476353135; bh=hN/g7bmo2JV0eTKajUesge35FZwiB7fdILFQOcgWGOU=; h=From:To:Cc:Subject:Date:From; b=hL6vnT0hYesSTuKAtuOj52a/nXrSF+iZCYmvjuhyFwCoW4X6fhHyjSffFtnyxPYrQ gV0em5Yil82EutF4roybH6SdqIfNu7xbQ28UMez5MpuVh64gJ4iHVAs4OPiL7sj33V OwZ8qc5ZOMKiZJ+jTH10MjL9zYB37hL9jTJoGmxVrbC+yoVgDu0vF2pSiz8hyfd0QM 6FIj0TcTn/UK2tLDo4O09FCka+ZbhtjCKGoKENADhXUNXNeD0UePkQtz1kMAvKgGHS KEBra9ywplzsErIiB01k5H6dPGJt3b3IoChYX7Uu6HYXAJYXYXU0ZO7u1AF82Fy1lH r9ACajilR2Rlw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Mark Brown , linux-kernel@vger.kernel.org Cc: Philipp Zabel , Masahiro Yamada Subject: [PATCH] regmap: include from include/linux/regmap.h Date: Thu, 13 Oct 2016 19:07:54 +0900 Message-Id: <1476353275-14422-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The readx_poll_timeout() macro calls usleep_range(), which is declared in . Make include/linux/regmap.h include , like include/linux/iopoll.h does. Otherwise, users of the macro will see "implicit declaration of function 'usleep_range'" error. Signed-off-by: Masahiro Yamada --- include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 9adc7b2..e5157e3 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -15,6 +15,7 @@ #include #include +#include #include #include #include