From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161304AbcAPAc6 (ORCPT ); Fri, 15 Jan 2016 19:32:58 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:47023 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753148AbcAPAc5 (ORCPT ); Fri, 15 Jan 2016 19:32:57 -0500 From: Randy Dunlap Subject: [PATCH RESEND] misc: ibmasm: fix build errors To: LKML , Greg Kroah-Hartman Cc: Max Asbock , Vernon Mauery , Arnd Bergmann , Andrew Morton X-Enigmail-Draft-Status: N1110 Message-ID: <56998FB4.8070206@infradead.org> Date: Fri, 15 Jan 2016 16:32:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.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.