Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2715091ybi; Mon, 17 Jun 2019 09:24:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM2ThqwU6mNqqtAX2ND9ICkWceV7cD03aRpNU70PEZ3El+piS9dkA0VLMKNymyIlq5dg7g X-Received: by 2002:a17:902:728a:: with SMTP id d10mr106492785pll.90.1560788646508; Mon, 17 Jun 2019 09:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560788646; cv=none; d=google.com; s=arc-20160816; b=0mZ5bKlYJp+fV7iUsaV6T84+M13rEDl7cu81TgLaZj7OSr/mvdWqmpWXtACIxaS/mz ThuotIps7yBuRIst+8ew23xT+DgeZU75Lf7xNp/E7edvExUq71pc76F8zkVakYXxmywe aIWXZHtjw45Dt4VzScimzUzEVhdWBfLOmcm9fIPB5WKYvM+KFxbaeHpAs9VXxTciagDV 50BinCw3mog79DR+FQ9qw3U/OjYIXtygo3Fa0hARh1644YrNbQHJjK4hK0GIqrQ242G+ XUOSyvkf7K0EqzTy7UmHBsCh64GJcoDtPMtOFtLyVAb88UKu7sDgsF2kl13xo863j9sM ghNw== 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=I+3dZymZ36bDT+SYPOPtFYrTLqbyyrx6FBC7YcP64m4=; b=lTZt99j3fd19sJ2fDwjRmnpwd5kC0+hpl0eOH93zE3aPafTHvUv/0nYQeuc1leoCib gmgF60p9W3f6ITXN/VttJYZdKcFKsYXJkf5iP1n7tJZfkeUjqsqNoNzUK5iCxcb0D9HJ 0kBrI4+RFPg+XzJ8RnobUnABcjGhAyPtk+EUF9QnSWekK7NEpiPLHjeuiLEoJTPy0OFO 9ibU1VKJ24xZ4s2zMMDDc1TlBOx+pjAsgPoJmkcFCHwFnC+GdjYH66pVCo6v9kKsVcro psMS2DgItJMgOgS1uHjRjiaPo6vMb3CQ5npBW+yS13NTVYfjXfksCJW8V7QysqcD008y 2J0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=pyZwABOh; 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 q19si10421178pjp.24.2019.06.17.09.23.51; Mon, 17 Jun 2019 09:24:06 -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=@infradead.org header.s=merlin.20170209 header.b=pyZwABOh; 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 S1727121AbfFQQV5 (ORCPT + 99 others); Mon, 17 Jun 2019 12:21:57 -0400 Received: from merlin.infradead.org ([205.233.59.134]:35446 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbfFQQV5 (ORCPT ); Mon, 17 Jun 2019 12:21:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=I+3dZymZ36bDT+SYPOPtFYrTLqbyyrx6FBC7YcP64m4=; b=pyZwABOhiF03uQ7pO88KTepolG gJfIgqubE3Xu7VCulG5ILy+0XOzm1hQ5rRiurXcbjmtXZsEGtuSCCZ7JU1m8lH/MiZa5KvSc8lCAG Ka/rLuHfNZutgYB/mKm+BhrkD+zuJujVaiwFvoKSM8hBRAVgQfMpqUJ7Kqu9+e17IT4x3dNc8m2rX tb7v90vmBb6JtltQhMzZuafvyWNaEQpBZvMsUH3XUas8nh7CaR4ullem0UdebRSItFmJ2BADFJA3v LM0ZSY+bUGWhGS4xg4Ga4Gf3cIgJS1bUb903//initn9ID+heZhXn94u8tpFMLuidvLqnpTPuzdeN +QqnFq7w==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hcuO7-0000qD-OH; Mon, 17 Jun 2019 16:21:44 +0000 To: LKML , linux-iio@vger.kernel.org Cc: Geert Uytterhoeven , Kjeld Flarup , Patrick Havelange , William Breathitt Gray , Richard Weinberger From: Randy Dunlap Subject: [PATCH] counter: fix ftm-quaddec build error on UML Message-ID: Date: Mon, 17 Jun 2019 09:21:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 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 on user-mode Linux, which does not set HAS_IOMEM, so devm_ioremap() is not available. Fixes this build error: ERROR: "devm_ioremap" [drivers/counter/ftm-quaddec.ko] undefined! Fixes: a3b9a99980d9 ("counter: add FlexTimer Module Quadrature decoder counter driver") Reported-by: Geert Uytterhoeven Signed-off-by: Randy Dunlap Cc: Kjeld Flarup Cc: Patrick Havelange Cc: William Breathitt Gray Cc: linux-iio@vger.kernel.org --- BTW, please fix these lines to have ending '>' characters: MODULE_AUTHOR("Kjeld Flarup