Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756054Ab3FKS3R (ORCPT ); Tue, 11 Jun 2013 14:29:17 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:40739 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430Ab3FKS3P (ORCPT ); Tue, 11 Jun 2013 14:29:15 -0400 MIME-Version: 1.0 In-Reply-To: <51B767F0.6020304@cogentembedded.com> References: <1370962642-12097-1-git-send-email-markos.chandras@imgtec.com> <51B767F0.6020304@cogentembedded.com> From: Markos Chandras Date: Tue, 11 Jun 2013 19:28:34 +0100 Message-ID: Subject: Re: [PATCH] drivers/net/ethernet/3com: Drop EISA dependency from VORTEX To: Sergei Shtylyov Cc: Markos Chandras , linux-kernel@vger.kernel.org, "David S. Miller" , Paul Gortmaker , netdev@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1712 Lines: 53 On 11 June 2013 19:09, Sergei Shtylyov wrote: > Hello. > > > On 11-06-2013 18:57, Markos Chandras wrote: > >> The Vortex driver depends on PCI with optional support for EISA. > > >> This fixes build problems when EISA is selected but not PCI. > > >> drivers/net/ethernet/3com/3c59x.c:1031:2: error: implicit declaration of >> function 'pci_iomap' [-Werror=implicit-function-declaration] >> drivers/net/ethernet/3com/3c59x.c:1044:3: error: implicit declaration of >> function 'pci_iounmap' [-Werror=implicit-function-declaration] > > >> Cc: David S. Miller >> Cc: Paul Gortmaker >> Cc: netdev@vger.kernel.org >> Signed-off-by: Markos Chandras > > > The proper way to address this is probably add empty *static inline* > function implementations for CONFIG_PCI=n case to the header file, same as > was done with pci_{request|release}_regions() for this same file several > years ago... > > WBR, Sergei > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ Hi Sergei, Sounds reasonable to me but I am not that familiar with this part of the kernel so I can't comment on whether this is the best solution or not. -- Regards, Markos Chandras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/