From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540Ab1HWSWn (ORCPT ); Tue, 23 Aug 2011 14:22:43 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:46834 "HELO oproxy1-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754128Ab1HWSWj (ORCPT ); Tue, 23 Aug 2011 14:22:39 -0400 Date: Tue, 23 Aug 2011 11:22:37 -0700 From: Randy Dunlap To: Stephen Rothwell , akpm , lud Cc: linux-next@vger.kernel.org, LKML , gregkh@suse.de Subject: [PATCH -next] usb: fix ipw.c build error, select USB_SERIAL_WWAN Message-Id: <20110823112237.0c68b7a5.rdunlap@xenotime.net> In-Reply-To: <20110823160432.d24f8cad00951286bc18461e@canb.auug.org.au> References: <20110823160432.d24f8cad00951286bc18461e@canb.auug.org.au> Organization: YPO4 X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap USB_SERIAL_IPW needs to select USB_SERIAL_WWAN to fix build errors: ipw.c:(.text+0x333841): undefined reference to `usb_wwan_close' ipw.c:(.text+0x3339e6): undefined reference to `usb_wwan_open' ipw.c:(.text+0x333bb9): undefined reference to `usb_wwan_release' drivers/built-in.o:(.data+0x29dac): undefined reference to `usb_wwan_startup' drivers/built-in.o:(.data+0x29db4): undefined reference to `usb_wwan_disconnect' drivers/built-in.o:(.data+0x29dd4): undefined reference to `usb_wwan_write' Signed-off-by: Randy Dunlap --- drivers/usb/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110823.orig/drivers/usb/serial/Kconfig +++ linux-next-20110823/drivers/usb/serial/Kconfig @@ -252,6 +252,7 @@ config USB_SERIAL_GARMIN config USB_SERIAL_IPW tristate "USB IPWireless (3G UMTS TDD) Driver" + select USB_SERIAL_WWAN help Say Y here if you want to use a IPWireless USB modem such as the ones supplied by Axity3G/Sentech South Africa.