Return-Path: Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOY9J-00AnqO-1M for linux-um@lists.infradead.org; Mon, 28 Feb 2022 05:00:42 +0000 Received: by mail-pl1-x62d.google.com with SMTP id z11so1306408pla.7 for ; Sun, 27 Feb 2022 21:00:39 -0800 (PST) Date: Sun, 27 Feb 2022 21:00:35 -0800 From: Dmitry Torokhov Subject: Re: [PATCH v2] Input: samsung-keypad - Properly state IOMEM dependency Message-ID: References: <20220225041727.1902850-1-davidgow@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220225041727.1902850-1-davidgow@google.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: David Gow Cc: Joonyoung Shim , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, anton ivanov On Fri, Feb 25, 2022 at 12:17:27PM +0800, David Gow wrote: > Make the samsung-keypad driver explicitly depend on CONFIG_HAS_IOMEM, as it > calls devm_ioremap(). This prevents compile errors in some configs (e.g, > allyesconfig/randconfig under UML): > > /usr/bin/ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe': > samsung-keypad.c:(.text+0xc60): undefined reference to `devm_ioremap' > > Signed-off-by: David Gow > Acked-by: anton ivanov Applied, thank you. -- Dmitry _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um