Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752537AbdHJIya (ORCPT ); Thu, 10 Aug 2017 04:54:30 -0400 Received: from www17.your-server.de ([213.133.104.17]:50913 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504AbdHJIy2 (ORCPT ); Thu, 10 Aug 2017 04:54:28 -0400 From: Thomas Meyer To: paul.burton@imgtec.com, linux-kernel@vger.kernel.org Cc: Thomas Meyer Subject: [PATCH] auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM Date: Thu, 10 Aug 2017 10:53:53 +0200 Message-Id: <20170810085353.27729-1-thomas@m3y3r.de> X-Mailer: git-send-email 2.13.3 X-Authenticated-Sender: thomas@m3y3r.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 22 This avoids the MODPOST error: ERROR: "devm_ioremap_resource" [drivers/auxdisplay/img-ascii-lcd.ko] undefined! Signed-off-by: Thomas Meyer --- drivers/auxdisplay/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig index 9ae6681c90ad..9088c66e4c08 100644 --- a/drivers/auxdisplay/Kconfig +++ b/drivers/auxdisplay/Kconfig @@ -135,6 +135,7 @@ config CFAG12864B_RATE config IMG_ASCII_LCD tristate "Imagination Technologies ASCII LCD Display" + depends on HAS_IOMEM default y if MIPS_MALTA || MIPS_SEAD3 select SYSCON help -- 2.13.3