From patchwork Mon Dec 1 03:49:35 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Miao X-Patchwork-Id: 11502 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 46513DDD0C for ; Mon, 1 Dec 2008 14:55:05 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752392AbYLADti (ORCPT ); Sun, 30 Nov 2008 22:49:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752289AbYLADth (ORCPT ); Sun, 30 Nov 2008 22:49:37 -0500 Received: from rv-out-0506.google.com ([209.85.198.239]:26425 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbYLADtg (ORCPT ); Sun, 30 Nov 2008 22:49:36 -0500 Received: by rv-out-0506.google.com with SMTP id k40so2262434rvb.1 for ; Sun, 30 Nov 2008 19:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=aF8JTDDx6e70J0UwKi/HBGskkwliQf9onfEWsF3VNtM=; b=B+SsZFYuViSCCfm/cVqvFJCDmnekkENVs3NQN3BG150WXXb8B2d89uMcFYVUAe0t+8 HEEsIuMwaHA6jVLiXjuM14DvE/CGts+Fd5o20nQhrx3v+x7h7PiDfzmITttbfqUgHtSO VHS0axe2dBL58wlh8OxJaOfYrOzMOskIxidQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=Ps8wrl/bDq3RdTZ4boUAjOu7rdcyemPtHPkKTa24fz3jyTD6IfKirllqYVmIT6Epo/ LMJlQ3SobTe8RXfbu+/7qfVf+WHfE/2RMZ/y7fAZ0AogXemY+0bUlyFKI+cvt7v7v7wt 7mljTrHQBepuzz0Wrf5xYq/UwIG8/qqmffviY= Received: by 10.140.204.7 with SMTP id b7mr5019323rvg.11.1228103375643; Sun, 30 Nov 2008 19:49:35 -0800 (PST) Received: by 10.140.132.13 with HTTP; Sun, 30 Nov 2008 19:49:35 -0800 (PST) Message-ID: Date: Mon, 1 Dec 2008 11:49:35 +0800 From: "Eric Miao" To: "ARM Linux" Subject: [ARM] pxa: explicit #include in various drivers Cc: linux-mtd , netdev@vger.kernel.org, alsa-devel@alsa-project.org MIME-Version: 1.0 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Where 'pxa_dma_desc' and 'pxa_{request,free}_dma' are referenced. Signed-off-by: Eric Miao --- drivers/mtd/nand/pxa3xx_nand.c | 2 +- drivers/net/smc911x.h | 3 +++ sound/arm/pxa2xx-pcm.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index c0fa9c9..64b3be1 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -20,8 +20,8 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index cc7d85b..870b4c3 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h @@ -200,6 +200,9 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, #ifdef SMC_USE_PXA_DMA + +#include + /* * Define the request and free functions * These are unfortunately architecture specific as no generic allocation diff --git a/sound/arm/pxa2xx-pcm.h b/sound/arm/pxa2xx-pcm.h index 5c4a4d3..65f86b5 100644 --- a/sound/arm/pxa2xx-pcm.h +++ b/sound/arm/pxa2xx-pcm.h @@ -9,7 +9,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include +#include struct pxa2xx_runtime_data { int dma_ch;