Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1193481imm; Thu, 6 Sep 2018 17:38:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZfdapOd89MtbOu4tpKXaP8sbiRGvj462y5j21eDe/cdiZfVecmisKDbILuyDECGKQExszR X-Received: by 2002:a62:868b:: with SMTP id x133-v6mr5784726pfd.252.1536280680959; Thu, 06 Sep 2018 17:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536280680; cv=none; d=google.com; s=arc-20160816; b=wv7oQNlQkMazS6XC6qUr5Mzu6XeUcvfQXrRCs34QU+W93Xa7ruGosjXhZ3DVnl8rUL OScDA3qlbUvVKz7ZezdkoChonUgi8IP7t2u126VGKyS+4U57Y6aneBotVYL3Vy5FCb8h Gz6c/dFIZWRMiqDZgvbKUEI2MpJTTUWJcmFNSe1ijx0zRGb8lTk/lWMC0HprT/c4AHJC 387Vupsvxx09LO7sTjA7oOXuQrb8CFt1ILvlWlXZc3jABcH6M7uDhcvOTojMDinzbEoi RXduQW7RcegE8uzOUywAekSXQZv5yjpVVZldRio0hLL/CwSwu1o4NA3FpO5bdG7yPPlv cOGQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WZ6SCxTufvokbvK4HRMyLG7u/cHaY8PFMhZWc8ZlNH8=; b=u3YhrGXuddCO1mrxOJEVyuZ04LENuJus+w6IXG8TR1M3JjDXoQHwzSDgQrjbHbdA0m Gt4w16ZiKYCTWp+X0oFRnBJ+hZIGDTqa/qIH2oIm/GZEmEOrHniiMhoSg1upWIf7rJBL noJDsx0Oov8kPgFh1M6vJTnJgr1tHaKuQewCEUWJPPFBFtd6H2gAECx2Ny4grOwwXEN7 EPfY1phViPVbdjyTIUNPiL0XjyU96H7HGmzeMCcTK0YYZmvC0R3SoJLbFZR1MzD4OQOU 2Yri55aENKpITieQmiEqxl6QN9r18JGSXWK491uhP4kxsJxdamjp4oX8cGck8i3w0T1n 7McQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W03q+mBV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6-v6si6366362pge.100.2018.09.06.17.37.45; Thu, 06 Sep 2018 17:38:00 -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=@chromium.org header.s=google header.b=W03q+mBV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728196AbeIGFFv (ORCPT + 99 others); Fri, 7 Sep 2018 01:05:51 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:32920 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbeIGFFv (ORCPT ); Fri, 7 Sep 2018 01:05:51 -0400 Received: by mail-pl1-f195.google.com with SMTP id b30-v6so3453940pla.0 for ; Thu, 06 Sep 2018 17:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WZ6SCxTufvokbvK4HRMyLG7u/cHaY8PFMhZWc8ZlNH8=; b=W03q+mBViHa34wSNBY6rfdzigQUEeUXvz3sQ33XQ5vnZMh6PqbJ7kaZHaAv9R+cZ2b 5SMKe25gjvTf1m767KS+jQl284Rfl4y2ZASqQugMruQSMyY8LINlEUtF/0l8ASURSeh3 ZDyyf+U2n0uhSG/teofR0AhuERFkFn1yudcKY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WZ6SCxTufvokbvK4HRMyLG7u/cHaY8PFMhZWc8ZlNH8=; b=nVpGigX4GB3LCzVK0Nwo65Z5VOwRIZFJmFFEepnDz1yQXFtSVb0y2mdBKr+tuWZDRZ HrCii7uZwXfX3nYh++7eqwjL/XTBHGzyzQqyNQJPFSbWpwDnfun98wryo3Z5hQ5f8+NQ MbCLnERlX5MhwPL/3dl08P+yTxmdPBnbTEaZYOQSgmZ5OO2npIQxe1GUZknUnOxDqgvD xx0wDAxU8Szb7HX8WSz25oaTfF4lvVYMg58hMGtWGTe7oR3K3da57a8DIR9j0bgN39h+ nxbOvwMEoLxbuRpdL7/0MfeQge8p9a81pmSI4frWqZDxq78JRjQL09v+frbnoIu9D1C6 dFGw== X-Gm-Message-State: APzg51DtXcbdchiX4snoeLUDiBNPUEc9teK70vSTSFCXXxAAgEKEmOEO str7Uv4U7FkP9mbjYC+vMx54Hw== X-Received: by 2002:a17:902:6b05:: with SMTP id o5-v6mr5374116plk.338.1536280068324; Thu, 06 Sep 2018 17:27:48 -0700 (PDT) Received: from firesword.mtv.corp.google.com ([2620:15c:202:1:b82e:17c6:30fd:4233]) by smtp.gmail.com with ESMTPSA id g184-v6sm9928382pgc.22.2018.09.06.17.27.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 17:27:47 -0700 (PDT) From: Grant Grundler To: Mark Brown , Ryan Lee Cc: Liam Girdwood , Kuninori Morimoto , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Grant Grundler Subject: [PATCH] ASoC: max98373: usleep_range() needs include/delay.h Date: Thu, 6 Sep 2018 17:27:28 -0700 Message-Id: <20180907002728.112770-1-grundler@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit ca917f9fe1a0fab added use of usleep_range() but not the corresponding "include ". The result is with Chrome OS won't build because warnings are forced to be errors: mnt/host/source/src/third_party/kernel/v4.4/sound/soc/codecs/max98373.c:734:2: error: implicit declaration of function 'usleep_range' [-Werror,-Wimplicit-function-declaration] usleep_range(10000, 11000); ^ Including delay.h "fixes" this. Signed-off-by: Grant Grundler --- sound/soc/codecs/max98373.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 92b7125ea169..1f97b2f7c851 100644 --- a/sound/soc/codecs/max98373.c +++ b/sound/soc/codecs/max98373.c @@ -2,6 +2,7 @@ // Copyright (c) 2017, Maxim Integrated #include +#include #include #include #include -- 2.19.0.rc2.392.g5ba43deb5a-goog