From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755444AbbLQTNV (ORCPT ); Thu, 17 Dec 2015 14:13:21 -0500 Received: from casper.infradead.org ([85.118.1.10]:44577 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754865AbbLQTLp (ORCPT ); Thu, 17 Dec 2015 14:11:45 -0500 To: LKML , Greg Kroah-Hartman From: Randy Dunlap Subject: [PATCH -next] misc: ibmasm: fix build errors X-Enigmail-Draft-Status: N1110 Cc: Max Asbock , Vernon Mauery , Arnd Bergmann Message-ID: <567308E3.3050802@infradead.org> Date: Thu, 17 Dec 2015 11:11:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build when CONFIG_SERIAL_8250=m and CONFIG_IBM_ASM=y. Fixes these build errors: drivers/built-in.o: In function `ibmasm_remove_one': module.c:(.text+0xf6874): undefined reference to `ibmasm_unregister_uart' drivers/built-in.o: In function `ibmasm_init_one': module.c:(.text+0xf6c37): undefined reference to `ibmasm_register_uart' Signed-off-by: Randy Dunlap Cc: Max Asbock Cc: Vernon Mauery --- drivers/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20151217.orig/drivers/misc/Kconfig +++ linux-next-20151217/drivers/misc/Kconfig @@ -95,6 +95,7 @@ config DUMMY_IRQ config IBM_ASM tristate "Device driver for IBM RSA service processor" depends on X86 && PCI && INPUT + depends on SERIAL_8250 || SERIAL_8250=n ---help--- This option enables device driver support for in-band access to the IBM RSA (Condor) service processor in eServer xSeries systems.