From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH -next] pch_can: depends on PCI Date: Mon, 25 Oct 2010 16:47:47 -0700 (PDT) Message-ID: <20101025.164747.189713145.davem@davemloft.net> References: <20101025145834.9b68e026.sfr@canb.auug.org.au> <20101025162524.570fc82a.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sfr@canb.auug.org.au, netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org To: randy.dunlap@oracle.com Return-path: In-Reply-To: <20101025162524.570fc82a.randy.dunlap@oracle.com> Sender: linux-next-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Randy Dunlap Date: Mon, 25 Oct 2010 16:25:24 -0700 > From: Randy Dunlap > > Fix pch_can build when CONFIG_PCI is not enabled. It uses pci interfaces > and data structures, so it should depend on PCI. > > drivers/net/can/pch_can.c:1044: error: implicit declaration of function 'pci_enable_msi' > drivers/net/can/pch_can.c:1079: error: implicit declaration of function 'pci_disable_msi' > > Signed-off-by: Randy Dunlap Applied, thanks Randy.